### Question:
BpmnRequestBuilder { public ServiceInstancesRequest buildServiceDeleteRequest(String serviceInstanceId) throws AAIEntityNotFound { ServiceInstance serviceInstance = aaiDataRet.getServiceInstance(serviceInstanceId); if (serviceInstance == null) { throw new AAIEntityNotFound( "ServiceInstance Not Found In Inventory, ServiceInstanceId: " + serviceInstanceId); } return createServiceInstancesRequest(serviceInstance); }  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_buildServiceInstanceDeleteRequest() throws Exception { ServiceInstance service = provider.getMapper().readValue(new File(RESOURCE_PATH + "ServiceInstance.json"), ServiceInstance.class); doReturn(service).when(aaiData).getServiceInstance("serviceId"); ServiceInstancesRequest expectedRequest = mapper .readValue(new File(RESOURCE_PATH + "ExpectedServiceRequest.json"), ServiceInstancesRequest.class); expectedRequest.getRequestDetails().getModelInfo().setModelId(null); ServiceInstancesRequest actualRequest = reqBuilder.buildServiceDeleteRequest("serviceId"); assertThat(actualRequest, sameBeanAs(expectedRequest)); }