@Override
    public SofaResponse handle(FilterInvoker invoker, SofaRequest request, BlockException ex) {
        // Just wrap and throw the exception.
        throw new SentinelRpcException(ex);
    }
@Test
    public void testHandle() {
        SofaRpcFallback sofaRpcFallback = new DefaultSofaRpcFallback();
        BlockException blockException = mock(BlockException.class);

        boolean throwSentinelRpcException = false;
        boolean causeIsBlockException = false;
        try {
            sofaRpcFallback.handle(null, null, blockException);
        } catch (Exception e) {
            throwSentinelRpcException = e instanceof SentinelRpcException;
            causeIsBlockException = e.getCause() instanceof BlockException;
        }
        assertTrue(throwSentinelRpcException);
        assertTrue(causeIsBlockException);
    }