@Test
public void testCreateFactSetMissingOrganization() throws Exception {

  UUID organizationID = UUID.randomUUID();
  CreateFactRequest request = createRequest()
          .setOrganization(null);
  mockCreateNewFact();
  when(factCreateHandler.resolveOrganization(isNull(), eq(origin)))
          .thenReturn(Organization.builder().setId(organizationID).build());
  delegate.handle(request);
  verify(factCreateHandler).saveFact(argThat(e -> Objects.equals(organizationID, e.getOrganizationID())), notNull(), notNull());
}