@Test
public void testValidateBindingsFailsOnBidirectionalBinding() throws Exception {

  CreateFactRequest request = createRequest()
          .setBidirectionalBinding(true);
  mockCreateNewFact();
  InvalidArgumentException ex = assertThrows(InvalidArgumentException.class, () -> delegate.handle(request));
  assertEquals(set("invalid.fact.object.binding"), set(ex.getValidationErrors(), InvalidArgumentException.ValidationError::getMessageTemplate));
}