@Test
  public void should_create_batching_persistence_manager() throws Exception {
    // Given
    Map<Class<?>, EntityMeta> entityMetaMap = new HashMap<Class<?>, EntityMeta>();
    PersistenceContextFactory contextFactory = mock(PersistenceContextFactory.class);

    // When
    pmf.entityMetaMap = entityMetaMap;
    pmf.configContext = configContext;
    pmf.daoContext = daoContext;
    pmf.contextFactory = contextFactory;

    PersistenceManager manager = pmf.createBatchingPersistenceManager();

    // Then
    assertThat(manager).isNotNull();
  }