### Question:
DefaultSofaRpcFallback implements SofaRpcFallback { @Override public SofaResponse handle(FilterInvoker invoker, SofaRequest request, BlockException ex) { throw new SentinelRpcException(ex); }  @Override SofaResponse handle(FilterInvoker invoker, SofaRequest request, BlockException ex);  }### Answer:
@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); }