@Test
public void testValidateBindingsFailsWithSameObject() throws Exception {

  CreateFactRequest request = createRequest()
          .setSourceObject(ip.getId().toString())
          .setDestinationObject(ip.getId().toString());
  mockCreateNewFact();
  InvalidArgumentException ex = assertThrows(InvalidArgumentException.class, () -> delegate.handle(request));
  assertEquals(set("invalid.source.object", "invalid.destination.object"), set(ex.getValidationErrors(), InvalidArgumentException.ValidationError::getMessageTemplate));
}