@Test void getReferences() { EntityType entityType = mock(EntityType.class); Iterable<?> ids = mock(Iterable.class); entityManagerImpl.getReferences(entityType, ids); verify(entityReferenceCreator).getReferences(entityType, ids); }
@Override public Iterable<Entity> getReferences(EntityType entityType, Iterable<?> ids) { return entityReferenceCreator.getReferences(entityType, ids); }
EntityManagerImpl implements EntityManager { @Override public Iterable<Entity> getReferences(EntityType entityType, Iterable<?> ids) { return entityReferenceCreator.getReferences(entityType, ids); } }
EntityManagerImpl implements EntityManager { @Override public Iterable<Entity> getReferences(EntityType entityType, Iterable<?> ids) { return entityReferenceCreator.getReferences(entityType, ids); } EntityManagerImpl(
      DataService dataService,
      EntityFactoryRegistry entityFactoryRegistry,
      EntityPopulator entityPopulator,
      EntityReferenceCreator entityReferenceCreator); }
EntityManagerImpl implements EntityManager { @Override public Iterable<Entity> getReferences(EntityType entityType, Iterable<?> ids) { return entityReferenceCreator.getReferences(entityType, ids); } EntityManagerImpl(
      DataService dataService,
      EntityFactoryRegistry entityFactoryRegistry,
      EntityPopulator entityPopulator,
      EntityReferenceCreator entityReferenceCreator); @Override Entity create(EntityType entityType, CreationMode creationMode); @Override Entity createFetch(EntityType entityType, Fetch fetch); @Override Entity getReference(EntityType entityType, Object id); @Override Iterable<Entity> getReferences(EntityType entityType, Iterable<?> ids); @Override Entity resolveReferences(EntityType entityType, Entity entity, Fetch fetch); @Override Stream<Entity> resolveReferences(
      EntityType entityType, Stream<Entity> entities, Fetch fetch); }
EntityManagerImpl implements EntityManager { @Override public Iterable<Entity> getReferences(EntityType entityType, Iterable<?> ids) { return entityReferenceCreator.getReferences(entityType, ids); } EntityManagerImpl(
      DataService dataService,
      EntityFactoryRegistry entityFactoryRegistry,
      EntityPopulator entityPopulator,
      EntityReferenceCreator entityReferenceCreator); @Override Entity create(EntityType entityType, CreationMode creationMode); @Override Entity createFetch(EntityType entityType, Fetch fetch); @Override Entity getReference(EntityType entityType, Object id); @Override Iterable<Entity> getReferences(EntityType entityType, Iterable<?> ids); @Override Entity resolveReferences(EntityType entityType, Entity entity, Fetch fetch); @Override Stream<Entity> resolveReferences(
      EntityType entityType, Stream<Entity> entities, Fetch fetch);  }