@Test
public void testEvictionOfSecondLevelCacheIsNotRunInAfterTestPhaseIfNotConfiguredForIt() throws Throwable {

    // GIVEN
    when(resolver.shouldEvictCacheAfter()).thenReturn(Boolean.FALSE);
    final SecondLevelCacheDecorator fixture = new SecondLevelCacheDecorator();
    // WHEN
    fixture.afterTest(invocation);
    // THEN
    verifyNoMoreInteractions(cache, emf);
}