@Test
public void testCreateFactSetMissingConfidence() throws Exception {

  CreateFactRequest request = createRequest()
          .setConfidence(null);
  mockCreateNewFact();
  delegate.handle(request);
  verify(factCreateHandler).saveFact(argThat(e -> Objects.equals(resolveFactType.getDefaultConfidence(), e.getConfidence())), notNull(), notNull());
}