### Question:
NetworkRestHandler extends AbstractRestHandler { public InfraActiveRequests createInfraActiveRequestForDelete(String requestId, String serviceInstanceId, String networkId, String requestorId, String source, String requestURL) { InfraActiveRequests request = mapInfraActiveRequestForDelete(requestId, serviceInstanceId, networkId, requestorId, source, requestURL); infraActiveRequestsClient.save(request); return request; }  InfraActiveRequests mapInfraActiveRequestForDelete(String requestId, String serviceInstanceId,
            String networkId, String requestorId, String source, String requestURL); InfraActiveRequests createInfraActiveRequestForDelete(String requestId, String serviceInstanceId,
            String networkId, String requestorId, String source, String requestURL); RequestClientParameter buildRequestParams(ServiceInstancesRequest request, String requestURI,
            String requestId, String serviceInstanceId, String networkId); void saveInstanceName(ServiceInstancesRequest request, InfraActiveRequests currentRequest); void checkDuplicateRequest(String serviceInstanceId, String networkInstanceId, String instanceName,
            String requestId); Recipe findNetworkRecipe(String action);  }### Answer:
@Test public void test_createInfraActiveRequestForDelete() throws Exception { InfraActiveRequests expected = new InfraActiveRequests(); expected.setRequestAction(Action.deleteInstance.toString()); expected.setServiceInstanceId("serviceInstanceId"); expected.setNetworkId("networkId"); expected.setRequestId("requestId"); expected.setRequestorId("userId"); expected.setSource("VID"); expected.setRequestStatus(Status.IN_PROGRESS.toString()); expected.setLastModifiedBy(Constants.MODIFIED_BY_APIHANDLER); expected.setRequestScope(ModelType.network.toString()); expected.setRequestUrl("http: InfraActiveRequests actual = restHandler.createInfraActiveRequestForDelete("requestId", "serviceInstanceId", "networkId", "userId", "VID", "http: assertThat(actual, sameBeanAs(expected).ignoring("startTime")); Mockito.verify(infraActiveRequestsClient, Mockito.times(1)).save(actual); }