@Test
public void testBeforeAll() throws Throwable {

    // GIVEN
    final EntityManagerFactoryDecorator decorator = new EntityManagerFactoryDecorator();
    // WHEN
    decorator.beforeAll(invocation);
    // THEN
    verify(ctx).storeData(eq(Constants.KEY_ENTITY_MANAGER_FACTORY), eq(factory));
}