@Test
public void testAssertObjectTypesToBindSuccess() throws Exception {

  UUID sourceObjectType = UUID.randomUUID();
  UUID destinationObjectType = UUID.randomUUID();
  List<FactObjectBindingDefinition> definitions = ListUtils.list(new FactObjectBindingDefinition()
          .setSourceObjectType(sourceObjectType)
          .setDestinationObjectType(destinationObjectType)
  );
  when(objectManager.getObjectType(isA(UUID.class))).thenReturn(new ObjectTypeEntity());
  helper.assertObjectTypesToBindExist(definitions, "property");
  verify(objectManager).getObjectType(sourceObjectType);
  verify(objectManager).getObjectType(destinationObjectType);
}