### Question:
BpmnRequestBuilder { public ServiceInstancesRequest buildVnfDeleteRequest(String vnfId) throws AAIEntityNotFound { GenericVnf vnf = aaiDataRet.getGenericVnf(vnfId); if (vnf == null) { throw new AAIEntityNotFound(GENERIC_VNF_NOT_FOUND_IN_INVENTORY_VNF_ID + vnfId); } return createServiceInstancesRequest(vnf); }  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_buildVnfDeleteRequest() throws Exception { 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"))); ServiceInstancesRequest expectedRequest = mapper.readValue(new File(RESOURCE_PATH + "ExpectedVnfRequest.json"), ServiceInstancesRequest.class); ServiceInstancesRequest actualRequest = reqBuilder.buildVnfDeleteRequest("vnfId"); assertThat(actualRequest, sameBeanAs(expectedRequest)); }