@Test
public void testCreateMissingObject() throws Exception {

  String value = "ObjectValue";
  ObjectTypeEntity type = mockFetchObjectType();
  mockValidator(true);
  when(objectFactDao.storeObject(any())).thenAnswer(i -> i.getArgument(0));
  ObjectRecord resolvedObject = resolver.resolveObject(String.format("%s/%s", type.getName(), value));
  assertObjectRecord(resolvedObject, type.getId(), value);
  verify(objectFactDao).storeObject(argThat(record -> assertObjectRecord(record, type.getId(), value)));
}