MappedEntity { public T getTransformer() { return transformer; } MappedEntity(T transformer, Class<?> clazz); T getTransformer(); boolean isLifecycle(); boolean isPolymorphic(); Map<String, F> getFields(); Field getIdField(); void map(); void call(LifecycleAction action, Object entity); void set(LifecycleAction action, Object entity, Object value);  }
@Test void getTransformer() { TestTransformer transformer = new TestTransformer(); TestMappedEntity entity = new TestMappedEntity(transformer, StandardEntity.class); assertEquals(transformer, entity.getTransformer()); }