@Test
public void testConvertFactTypeWithFactBindings() {

  FactTypeEntity entity = createEntity()
    .addRelevantFactBinding(new FactTypeEntity.MetaFactBindingDefinition().setFactTypeID(UUID.randomUUID()))
    .addRelevantFactBinding(new FactTypeEntity.MetaFactBindingDefinition().setFactTypeID(UUID.randomUUID()));
  FactType model = converter.apply(entity);
  assertModelCommon(entity, model);
  assertNull(model.getRelevantObjectBindings());
  assertNotNull(model.getRelevantFactBindings());
  assertRelevantFactBindings(entity, model);
}