public interface Validatable<T extends ValidatableResponseOptions<T,R>,R extends ResponseBody<R> & ResponseOptions<R>>
| Modifier and Type | Method and Description |
|---|---|
T |
then()
Returns a validatable response that's lets you validate the response.
|
T then()
given().
param("firstName", "John").
param("lastName", "Doe").
when().
get("/greet").
then().
body("greeting", equalTo("John Doe"));
Copyright © 2010–2015. All rights reserved.