@Test public void shouldCatchException() { exceptionCatcher.process("data"); // Test passed if no exception is thrown by ObjectReceiver#process(T) }
@Test public void shouldCatchException() { exceptionCatcher.process("data"); // Test passed if no exception is thrown by ObjectReceiver#process(T) }