@Test
public void testEvictionOfSecondLevelCacheIsNotRunInBeforeTestPhaseIfNotConfiguredForIt() throws Throwable {

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