### Question:
VfModuleCustomizationToVduMapper { public VduModelInfo mapVfModuleCustomizationToVdu(VfModuleCustomization vfModuleCustom) { VduModelInfo vduModel = new VduModelInfo(); vduModel.setModelCustomizationUUID(vfModuleCustom.getModelCustomizationUUID()); vduModel.setModelUUID(vfModuleCustom.getVfModule().getModelUUID()); vduModel.setModelInvariantUUID(vfModuleCustom.getVfModule().getModelInvariantUUID()); mapCloudTemplates(vfModuleCustom.getVfModule().getModuleHeatTemplate(), vduModel); mapCloudFiles(vfModuleCustom, vduModel); mapEnvironment(vfModuleCustom.getHeatEnvironment(), vduModel); return vduModel; }  VduModelInfo mapVfModuleCustomizationToVdu(VfModuleCustomization vfModuleCustom); VduModelInfo mapVfModuleCustVolumeToVdu(VfModuleCustomization vfModuleCustom);  }### Answer:
@Test public void mapVfModuleCustomizationToVdu_successful() { VfModuleCustomization vfModuleCustomization = createVfModuleCustomization(); vfModuleCustomization.setHeatEnvironment(createHeatEnvironment(HEAT_ENV_NAME, HEAT_ENV_CONTENT)); VfModule vfModule = createVfModule(); vfModule.setModuleHeatTemplate(createHeatTemplate(MODULE_HEAT_TEMPLATE_NAME, MODULE_HEAT_TEMPLATE_BODY, NESTED_TEMPLATE_NAME, NESTED_TEMPLATE_BODY)); vfModuleCustomization.setVfModule(vfModule); VduModelInfo vduModelInfo = new VfModuleCustomizationToVduMapper().mapVfModuleCustomizationToVdu(vfModuleCustomization); assertThat(vduModelInfo.getModelCustomizationUUID()).isEqualTo(MODEL_CUSTOMIZATION_UUID); assertThat(vduModelInfo.getTimeoutMinutes()).isEqualTo(TIMEOUT_IN_MIN); assertThat(vduModelInfo.getArtifacts()).containsExactlyElementsOf(createExpectedVduArtifacts()); }