### Question:
AclEntryResponseConverter implements Function<FactAclEntryRecord, AclEntry> { @Override public AclEntry apply(FactAclEntryRecord record) { if (record == null) return null; return AclEntry.builder() .setId(record.getId()) .setOrigin(ObjectUtils.ifNotNull(originConverter.apply(record.getOriginID()), Origin::toInfo)) .setSubject(ObjectUtils.ifNotNull(subjectConverter.apply(record.getSubjectID()), Subject::toInfo)) .setTimestamp(record.getTimestamp()) .build(); } @Inject  AclEntryResponseConverter(OriginByIdResponseResolver originConverter,
                                   SubjectByIdResponseResolver subjectConverter); @Override AclEntry apply(FactAclEntryRecord record);  }### Answer:
@Test public void testConvertNull() { assertNull(converter.apply(null)); }
@Test public void testConvertEmpty() { assertNotNull(converter.apply(new FactAclEntryRecord())); }
@Test public void testConvertFull() { FactAclEntryRecord record = createRecord(); assertModel(record, converter.apply(record)); }