### Question:
ConnectionFactoryContextWrapper { public <T> T call(final Callable<T> callable) throws Exception { return call(null, callable); } ConnectionFactoryContextWrapper(final ConnectionFactory connectionFactory); T call(final Callable<T> callable); T call(final String contextName, final Callable<T> callable); void run(final Runnable runnable); void run(final String contextName, final Runnable runnable);  }### Answer:
@Test public void shouldCall() throws Exception { when(callable.call()).thenReturn(DUMMY_RETURN); String result = wrapper().call(DUMMY_CONTEXT_NAME, callable); verify(callable).call(); assertEquals(DUMMY_RETURN, result); }
@Test public void shouldNotSuppressExceptionWhenCalling() throws Exception { exception.expect(RuntimeException.class); exception.expectMessage("dummy-exception"); when(callable.call()).thenThrow(new RuntimeException("dummy-exception")); wrapper().call(DUMMY_CONTEXT_NAME, callable); }