Package org.alfresco.rest.model
Class RestHtmlResponse
java.lang.Object
org.alfresco.rest.model.RestHtmlResponse
Created by Claudia Agache on 10/13/2016.
-
Constructor Summary
ConstructorsConstructorDescriptionRestHtmlResponse(io.restassured.http.Headers headers, io.restassured.response.ResponseBody body) -
Method Summary
Modifier and TypeMethodDescriptionvoidassertPathInHtmlBodyEquals(String elementHtmlPath, String value) Assetion that a html element with specific html path has the specified valuevoidio.restassured.response.ResponseBodygetBody()
-
Constructor Details
-
RestHtmlResponse
public RestHtmlResponse(io.restassured.http.Headers headers, io.restassured.response.ResponseBody body)
-
-
Method Details
-
getBody
public io.restassured.response.ResponseBody getBody()- Returns:
- the
ResponseBody
-
assertResponseContainsImage
public void assertResponseContainsImage() -
assertPathInHtmlBodyEquals
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
-