@Test(expected = InvalidArgumentException.class)
public void testUpdateFactTypeWithBothObjectBindingsAndFactBindings() throws Exception {

  UpdateFactTypeRequest request = new UpdateFactTypeRequest()
          .setId(UUID.randomUUID())
          .addAddObjectBinding(new FactObjectBindingDefinition())
          .addAddFactBinding(new MetaFactBindingDefinition());
  FactTypeEntity existingEntity = new FactTypeEntity();
  when(factTypeRequestResolver.fetchExistingFactType(request.getId())).thenReturn(existingEntity);
  delegate.handle(request);
}