@Test
public void testNonCaching() {

    sut.useCachingConnectionFactory = false;
    ConnectionFactory result = (ConnectionFactory) sut.postProcessAfterInitialization(connectionFactory, "mock");
    assertThat(result, not(instanceOf(CachingConnectionFactory.class)));
}