final String applicationId = this.resourceRepository.getApplicationId(method.getResourceId()); final String projectId = this.applicationRepository.getProjectId(applicationId); final SearchResult searchResult = new SearchResult(); searchResult.setLink(REST + SLASH + PROJECT + SLASH + projectId + SLASH + APPLICATION + SLASH + applicationId + SLASH + RESOURCE + SLASH + method.getResourceId() + SLASH + METHOD + SLASH + method.getId()); searchResult.setDescription(REST_TYPE + COMMA + methodType);
Assert.assertNull(getAllMockServicesMethod.getDefaultBody()); Assert.assertNull(getAllMockServicesMethod.getId()); Assert.assertNull(getAllMockServicesMethod.getResourceId()); Assert.assertNull(createMockMethod.getDefaultBody()); Assert.assertNull(createMockMethod.getId()); Assert.assertNull(createMockMethod.getResourceId()); Assert.assertNull(headMockMethod.getDefaultBody()); Assert.assertNull(headMockMethod.getId()); Assert.assertNull(headMockMethod.getResourceId()); Assert.assertNull(optionsMockMethod.getDefaultBody()); Assert.assertNull(optionsMockMethod.getId()); Assert.assertNull(optionsMockMethod.getResourceId()); Assert.assertNull(getMockByIdMethod.getDefaultBody()); Assert.assertNull(getMockByIdMethod.getId()); Assert.assertNull(getMockByIdMethod.getResourceId()); Assert.assertNull(updateMockMethod.getDefaultBody()); Assert.assertNull(updateMockMethod.getId()); Assert.assertNull(updateMockMethod.getResourceId()); Assert.assertNull(deleteMockMethod.getDefaultBody()); Assert.assertNull(deleteMockMethod.getId()); Assert.assertNull(deleteMockMethod.getResourceId());
Assert.assertFalse(restMethod.getSimulateNetworkDelay()); Assert.assertNull(restMethod.getId()); Assert.assertNull(restMethod.getResourceId()); Assert.assertNull(restMethod.getInvokeAddress()); Assert.assertNull(restMethod.getForwardedEndpoint());