assertThat(mockServiceX.getMockOperationAt(0).getName(), is("b"));
assertThat(mockServiceX.getMockOperationAt(1).getName(), is("a"));
}
private void addRestMockResponseToProject() throws SoapUIException {
RestMockService restMockService = project.addNewRestMockService(restMockServiceName);
RestRequest restRequest = ModelItemFactory.makeRestRequest();
restRequest.setMethod(GET);
restRequest.setName("REST Mock Action");
restRequest.setPath("Resource/path/subpath");
RestMockAction restMockAction = restMockService.addNewMockAction(restRequest);
RestMockResponse mockResponse = restMockAction.addNewMockResponse("Response 1");
mockResponse.setResponseContent(restMockResponseContent);
mockResponse.setName(restMockResponseName);
}