### Question:
VFModuleRestHandler extends AbstractRestHandler { public void saveInstanceName(ServiceInstancesRequest request, InfraActiveRequests currentRequest) { try { currentRequest.setVfModuleName(request.getRequestDetails().getRequestInfo().getInstanceName()); infraActiveRequestsClient.updateInfraActiveRequests(currentRequest); } catch (Exception e) { logger.warn("Could not update instance name", e); } }  InfraActiveRequests mapInfraActiveRequestForDelete(String requestId, String vfModuleId,
            String serviceInstanceId, String vnfId, String requestorId, String source, String requestURL); InfraActiveRequests createInfraActiveRequestForDelete(String requestId, String vfModuleId,
            String serviceInstanceId, String vnfId, String requestorId, String source, String requestURL); RequestClientParameter buildRequestParams(ServiceInstancesRequest request, String requestURI,
            String requestId, String serviceInstanceId, String vnfId, String vfModuleId); void saveInstanceName(ServiceInstancesRequest request, InfraActiveRequests currentRequest); void checkDuplicateRequest(String serviceInstanceId, String vnfInstanceId, String vfmoduleInstanceId,
            String instanceName, String requestId); Recipe findVfModuleRecipe(String modelCustomizationId, String modelType, String action);  }### Answer:
@Test public void test_saveInstanceName() throws MalformedURLException, NoRecipeException { ServiceInstancesRequest request = createTestRequest(); InfraActiveRequests dbRequest = createDatabaseRecord(); restHandler.saveInstanceName(request, dbRequest); Mockito.verify(infraActiveRequestsClient, Mockito.times(1)).updateInfraActiveRequests(dbRequest); assertEquals("InstanceName Should Be Equal", "instanceName", dbRequest.getVfModuleName()); }