Package org.alfresco.rest.model
Class RestHtmlResponse
- java.lang.Object
-
- org.alfresco.rest.model.RestHtmlResponse
-
public class RestHtmlResponse extends java.lang.ObjectCreated by Claudia Agache on 10/13/2016.
-
-
Constructor Summary
Constructors Constructor Description RestHtmlResponse(io.restassured.http.Headers headers, io.restassured.response.ResponseBody body)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ModelAssertion<RestHtmlResponse>and()voidassertPathInHtmlBodyEquals(java.lang.String elementHtmlPath, java.lang.String value)Assetion that a html element with specific html path has the specified valuevoidassertResponseContainsImage()ModelAssertion<RestHtmlResponse>assertThat()DSL for assertion on this rest modelio.restassured.response.ResponseBodygetBody()
-
-
-
Method Detail
-
getBody
public io.restassured.response.ResponseBody getBody()
- Returns:
- the
ResponseBody
-
assertResponseContainsImage
public void assertResponseContainsImage() throws java.lang.Exception- Throws:
java.lang.Exception
-
assertThat
public ModelAssertion<RestHtmlResponse> assertThat()
DSL for assertion on this rest model- Returns:
-
and
public ModelAssertion<RestHtmlResponse> and()
-
assertPathInHtmlBodyEquals
public void assertPathInHtmlBodyEquals(java.lang.String elementHtmlPath, java.lang.String value)Assetion that a html element with specific html path has the specified value- Parameters:
elementHtmlPath- the HTML path of the HTML elementvalue- value of the field
-
-