Class SwaggerPetstoreVerifications<SELF extends SwaggerPetstoreVerifications<SELF>>
- java.lang.Object
-
- com.tngtech.jgiven.base.StageBase<SELF>
-
- com.tngtech.jgiven.Stage<SELF>
-
- dev.aherscu.qa.jgiven.commons.utils.StageEx<SELF>
-
- dev.aherscu.qa.jgiven.commons.steps.GenericVerifications<dev.aherscu.qa.jgiven.rest.model.RestScenarioType,SELF>
-
- dev.aherscu.qa.jgiven.rest.steps.RestVerifications<SELF>
-
- dev.aherscu.qa.testing.example.steps.tutorial.SwaggerPetstoreVerifications<SELF>
-
- All Implemented Interfaces:
dev.aherscu.qa.jgiven.commons.model.ScenarioType<dev.aherscu.qa.jgiven.rest.model.RestScenarioType>
public class SwaggerPetstoreVerifications<SELF extends SwaggerPetstoreVerifications<SELF>> extends dev.aherscu.qa.jgiven.rest.steps.RestVerifications<SELF>
-
-
Field Summary
Fields Modifier and Type Field Description protected ThreadLocal<jakarta.ws.rs.client.Client>
client
protected TestConfiguration
configuration
protected ThreadLocal<SwaggerLoginResponse>
loginResponse
-
Constructor Summary
Constructors Constructor Description SwaggerPetstoreVerifications()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SELF
the_available_pets(org.hamcrest.Matcher<Stream<Pet>> petsMatcher)
SELF
the_login_response(org.hamcrest.Matcher<SwaggerLoginResponse> responseMatcher)
-
Methods inherited from class dev.aherscu.qa.jgiven.rest.steps.RestVerifications
attachActualResponse, invoke, the_response_contains_JSON, the_response_contents, the_response_contents, the_response_status
-
Methods inherited from class dev.aherscu.qa.jgiven.commons.steps.GenericVerifications
beforeScenarioConfigurePolling, eventually, eventually, eventually_assert_that, should_succeed, the_file_$_should_contain, the_file_$_should_match, the_JSON_file_$_should_contain
-
-
-
-
Field Detail
-
configuration
@ExpectedScenarioState protected TestConfiguration configuration
-
loginResponse
@ExpectedScenarioState protected ThreadLocal<SwaggerLoginResponse> loginResponse
-
client
@ExpectedScenarioState protected ThreadLocal<jakarta.ws.rs.client.Client> client
-
-
Method Detail
-
the_login_response
public SELF the_login_response(org.hamcrest.Matcher<SwaggerLoginResponse> responseMatcher)
-
-