@Test void testCreate() { EntityType entityType = mock(EntityType.class); entityManagerV3.create(entityType); verify(entityManager).create(entityType, CreationMode.POPULATE); }
@Override public Entity create(EntityType entityType) { return entityManager.create(entityType, POPULATE); }
EntityManagerV3Impl implements EntityManagerV3 { @Override public Entity create(EntityType entityType) { return entityManager.create(entityType, POPULATE); } }
EntityManagerV3Impl implements EntityManagerV3 { @Override public Entity create(EntityType entityType) { return entityManager.create(entityType, POPULATE); } EntityManagerV3Impl(EntityManager entityManager); }
EntityManagerV3Impl implements EntityManagerV3 { @Override public Entity create(EntityType entityType) { return entityManager.create(entityType, POPULATE); } EntityManagerV3Impl(EntityManager entityManager); @Override Entity create(EntityType entityType); @Override void populate(EntityType entityType, Entity entity, Map<String, Object> requestValues); }
EntityManagerV3Impl implements EntityManagerV3 { @Override public Entity create(EntityType entityType) { return entityManager.create(entityType, POPULATE); } EntityManagerV3Impl(EntityManager entityManager); @Override Entity create(EntityType entityType); @Override void populate(EntityType entityType, Entity entity, Map<String, Object> requestValues);  }