public void should_prepare_repo_entity()
{
// given
// when
RepositoryEntity entity1 = PersistenceUnits.instance().lookupMetadata(MappedOne.class);
RepositoryEntity entity2 = PersistenceUnits.instance().lookupMetadata(MappedTwo.class);
RepositoryEntity entity3 = PersistenceUnits.instance().lookupMetadata(MappedThree.class);
// then
assertNotNull(entity1);
assertNotNull(entity2);
assertEquals(Long.class, entity1.getPrimaryClass());
assertEquals(TeeId.class, entity2.getPrimaryClass());
assertEquals(Long.class, entity3.getPrimaryClass());
}