private RestMethod makeRestMethod(RestResource restResource) {
return new RestMethod(restResource, RestMethodConfig.Factory.newInstance());
}
public RestMethod makeRestMethod() throws SoapUIException {
RestMethodConfig methodConfig = RestMethodConfig.Factory.newInstance();
methodConfig.setName("Get");
methodConfig.setMethod("GET");
final RestResource restResource = makeRestResource();
RestMethod restMethod = new RestMethod(restResource, methodConfig) {
@Override
public RestRequestInterface.HttpMethod getMethod() {
return RestRequestInterface.HttpMethod.GET;