### Question:
ConfigQueryEntryToFileSystemParameterV4ResponseConverter extends AbstractConversionServiceAwareConverter<ConfigQueryEntry, FileSystemParameterV4Response> { @Override public FileSystemParameterV4Response convert(ConfigQueryEntry source) { FileSystemParameterV4Response fileSystemParameterV4Response = new FileSystemParameterV4Response(); fileSystemParameterV4Response.setType(source.getType().name()); fileSystemParameterV4Response.setDefaultPath(source.getDefaultPath()); fileSystemParameterV4Response.setDescription(source.getDescription()); fileSystemParameterV4Response.setPropertyName(source.getPropertyName()); fileSystemParameterV4Response.setRelatedServices(source.getRelatedServices()); fileSystemParameterV4Response.setRelatedMissingServices(source.getRelatedMissingServices()); fileSystemParameterV4Response.setPropertyFile(source.getPropertyFile()); fileSystemParameterV4Response.setProtocol(source.getProtocol()); fileSystemParameterV4Response.setPropertyDisplayName(source.getPropertyDisplayName()); fileSystemParameterV4Response.setSecure(source.isSecure()); return fileSystemParameterV4Response; }  @Override FileSystemParameterV4Response convert(ConfigQueryEntry source);  }### Answer:
@Test public void testConvertCheckAllPropertyPassedProperly() { FileSystemParameterV4Response expected = new FileSystemParameterV4Response(); expected.setType(CloudStorageCdpService.RANGER_AUDIT.name()); expected.setDefaultPath(TEST_PATH_VALUE); expected.setProtocol(TEST_PROTOCOL); expected.setDescription(TEST_DESCRIPTION); expected.setPropertyDisplayName(TEST_DISPLAY_NAME); expected.setPropertyFile(TEST_PROPERTY_FILE); expected.setPropertyName(TEST_PROPERTY_NAME); expected.setRelatedMissingServices(new HashSet<>(Arrays.asList(TEST_RELATED_SERVICE, TEST_RELATED_SERVICE2))); expected.setRelatedServices(new HashSet<>(Arrays.asList(TEST_RELATED_SERVICE, TEST_RELATED_SERVICE2))); FileSystemParameterV4Response result = underTest.convert(createConfigQueryEntry()); assertEquals(expected, result); }