@Test
public void testValidateBindingsFailsOnDirection() throws Exception {

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