MongoEntityManager implements EntityManager { @Override public MorphixMongoConnector getConnector() { return this.connector; } MongoEntityManager(MorphixMongoConnector connector, MongoCache cache); @Override MorphixMongoConnector getConnector(); MongoCache getCache(); Bson getFilters(Object object); @Override void update(Filter filter, Object[] entities); @Override void save(Filter filter, boolean update, Object[] entities);  }
@Test void getConnector() { assertNotNull(this.connector.getEntityManager().getConnector()); assertEquals(this.connector, this.connector.getEntityManager().getConnector()); }