public class SwaggerAssert extends org.assertj.core.api.AbstractAssert<SwaggerAssert,io.swagger.models.Swagger>
Swagger.
To create a new instance of this class, invoke .
SwaggerAssertions.assertThat(Swagger)
| Constructor and Description |
|---|
SwaggerAssert(io.swagger.models.Swagger actual) |
SwaggerAssert(io.swagger.models.Swagger actual,
java.lang.String configurationResourceLocation) |
SwaggerAssert(io.swagger.models.Swagger actual,
SwaggerAssertionConfig assertionConfig) |
| Modifier and Type | Method and Description |
|---|---|
SwaggerAssert |
isEqualTo(java.lang.String expectedLocation)
Verifies that the actual value is equal to the given one.
|
SwaggerAssert |
isEqualTo(io.swagger.models.Swagger expected)
Verifies that the actual value is equal to the given one.
|
SwaggerAssert |
satisfiesContract(java.lang.String expectedLocation)
Verifies that the actual value is equal to the given one.
|
SwaggerAssert |
satisfiesContract(io.swagger.models.Swagger expected)
Verifies that the actual value is equal to the given one.
|
as, as, asList, asString, describedAs, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, equals, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasToString, inBinary, inHexadecimal, is, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isInstanceOfSatisfying, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, matches, matches, overridingErrorMessage, satisfies, setCustomRepresentation, throwAssertionError, usingComparator, usingDefaultComparator, withFailMessage, withRepresentation, withThreadDumpOnErrorpublic SwaggerAssert(io.swagger.models.Swagger actual)
public SwaggerAssert(io.swagger.models.Swagger actual,
SwaggerAssertionConfig assertionConfig)
public SwaggerAssert(io.swagger.models.Swagger actual,
java.lang.String configurationResourceLocation)
public SwaggerAssert isEqualTo(io.swagger.models.Swagger expected)
expected - the given value to compare the actual value to.this assertion object.java.lang.AssertionError - if the actual value is not equal to the given one or if the actual value is null..public SwaggerAssert isEqualTo(java.lang.String expectedLocation)
expectedLocation - the location of the given value to compare the actual value to.this assertion object.java.lang.AssertionError - if the actual value is not equal to the given one or if the actual value is null..public SwaggerAssert satisfiesContract(io.swagger.models.Swagger expected)
expected - the given value to compare the actual value to.this assertion object.java.lang.AssertionError - if the actual value is not equal to the given one or if the actual value is null..public SwaggerAssert satisfiesContract(java.lang.String expectedLocation)
expectedLocation - the location of the given value to compare the actual value to.this assertion object.java.lang.AssertionError - if the actual value is not equal to the given one or if the actual value is null..