io.coderate.accurest.builder.JUnitMethodBodyBuilder.groovy Maven / Gradle / Ivy
package io.coderate.accurest.builder
/**
* @author Jakub Kubrynski
*/
class JUnitMethodBodyBuilder {
/*
given()
.contentType("application/json")
.header("Accept", "application/json")
.body("{'name': 'MyApp', 'description' : 'awesome app'}".replaceAll("'", "\"")).
expect()
.statusCode(200).body("id", is(not(nullValue()))).
when()
.post(root.toString() + "rest/applications").asString();*/
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy