### Question:
BpmnRequestBuilder { public CloudConfiguration getCloudConfigurationVfModuleReplace(String vnfId, String vfModuleId) throws AAIEntityNotFound { GenericVnf vnf = aaiDataRet.getGenericVnf(vnfId); if (vnf == null) { throw new AAIEntityNotFound(GENERIC_VNF_NOT_FOUND_IN_INVENTORY_VNF_ID + vnfId); } return mapCloudConfiguration(vnf, vfModuleId); }  ServiceInstancesRequest buildVFModuleDeleteRequest(String vnfId, String vfModuleId, ModelType modelType); CloudConfiguration getCloudConfigurationVfModuleReplace(String vnfId, String vfModuleId); ServiceInstancesRequest buildVolumeGroupDeleteRequest(String vnfId, String volumeGroupId); ServiceInstancesRequest buildServiceDeleteRequest(String serviceInstanceId); ServiceInstancesRequest buildVnfDeleteRequest(String vnfId); ServiceInstancesRequest buildNetworkDeleteRequest(String networkId); CloudConfiguration mapCloudConfiguration(GenericVnf vnf, String vfModuleId); CloudConfiguration mapCloudConfigurationVolume(GenericVnf vnf, VolumeGroup volumeGroup); CloudConfiguration mapCloudConfigurationNetwork(L3Network network); CloudConfiguration mapCloudConfigurationVnf(String vnfId); Optional<ServiceInstancesRequest> findServiceInstanceRequest(Map<String, String[]> filters); Map<String, String[]> createQueryRequest(String name, String instanceId); RequestInfo createRequestInfo(); RequestParameters createRequestParameters();  }### Answer:
@Test public void test_getCloudConfigurationVfModuleReplace() throws Exception { String vnfId = "vnfId"; String vfModuleId = "vfModuleId"; GenericVnf vnf = provider.getMapper().readValue(new File(RESOURCE_PATH + "Vnf.json"), GenericVnf.class); doReturn(Optional.of(vnf)).when(aaiResourcesClient).get(GenericVnf.class, AAIUriFactory.createResourceUri(AAIFluentTypeBuilder.network().genericVnf(vnfId))); CloudConfiguration result = reqBuilder.getCloudConfigurationVfModuleReplace(vnfId, vfModuleId); assertEquals("0422ffb57ba042c0800a29dc85ca70f8", result.getTenantId()); assertEquals("cloudOwner", result.getCloudOwner()); assertEquals("regionOne", result.getLcpCloudRegionId()); }