public abstract class AbstractErrorSchemaAssert<S extends AbstractErrorSchemaAssert<S,A>,A extends io.fabric8.kubernetes.api.model.ErrorSchema>
extends org.assertj.core.api.AbstractAssert<S,A>
ErrorSchema
specific assertions - Generated by CustomAssertionGenerator.Modifier | Constructor and Description |
---|---|
protected |
AbstractErrorSchemaAssert(A actual,
Class<S> selfType)
Creates a new
to make assertions on actual ErrorSchema. |
Modifier and Type | Method and Description |
---|---|
S |
hasAdditionalProperties(Map additionalProperties)
Verifies that the actual ErrorSchema's additionalProperties is equal to the given one.
|
S |
hasApiVersion(String apiVersion)
Verifies that the actual ErrorSchema's apiVersion is equal to the given one.
|
S |
hasCode(Double code,
Double offset)
Verifies that the actual ErrorSchema's code is close to the given value by less than the given offset.
|
S |
hasCreationTimestamp(Object creationTimestamp)
Verifies that the actual ErrorSchema's creationTimestamp is equal to the given one.
|
S |
hasDetails(io.fabric8.kubernetes.api.model.Details details)
Verifies that the actual ErrorSchema's details is equal to the given one.
|
S |
hasKind(String kind)
Verifies that the actual ErrorSchema's kind is equal to the given one.
|
S |
hasMessage(String message)
Verifies that the actual ErrorSchema's message is equal to the given one.
|
S |
hasReason(String reason)
Verifies that the actual ErrorSchema's reason is equal to the given one.
|
S |
hasStatus(String status)
Verifies that the actual ErrorSchema's status is equal to the given one.
|
as, as, describedAs, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, equals, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, inBinary, inHexadecimal, is, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, overridingErrorMessage, usingComparator, usingDefaultComparator
protected AbstractErrorSchemaAssert(A actual, Class<S> selfType)
AbstractErrorSchemaAssert
to make assertions on actual ErrorSchema.actual
- the ErrorSchema we want to make assertions on.public S hasAdditionalProperties(Map additionalProperties)
additionalProperties
- the given additionalProperties to compare the actual ErrorSchema's additionalProperties to.AssertionError
- - if the actual ErrorSchema's additionalProperties is not equal to the given one.public S hasApiVersion(String apiVersion)
apiVersion
- the given apiVersion to compare the actual ErrorSchema's apiVersion to.AssertionError
- - if the actual ErrorSchema's apiVersion is not equal to the given one.public S hasCode(Double code, Double offset)
If difference is equal to the offset value, assertion is considered successful.
code
- the value to compare the actual ErrorSchema's code to.offset
- the given offset.AssertionError
- - if the actual ErrorSchema's code is not close enough to the given value.public S hasCreationTimestamp(Object creationTimestamp)
creationTimestamp
- the given creationTimestamp to compare the actual ErrorSchema's creationTimestamp to.AssertionError
- - if the actual ErrorSchema's creationTimestamp is not equal to the given one.public S hasDetails(io.fabric8.kubernetes.api.model.Details details)
details
- the given details to compare the actual ErrorSchema's details to.AssertionError
- - if the actual ErrorSchema's details is not equal to the given one.public S hasKind(String kind)
kind
- the given kind to compare the actual ErrorSchema's kind to.AssertionError
- - if the actual ErrorSchema's kind is not equal to the given one.public S hasMessage(String message)
message
- the given message to compare the actual ErrorSchema's message to.AssertionError
- - if the actual ErrorSchema's message is not equal to the given one.public S hasReason(String reason)
reason
- the given reason to compare the actual ErrorSchema's reason to.AssertionError
- - if the actual ErrorSchema's reason is not equal to the given one.public S hasStatus(String status)
status
- the given status to compare the actual ErrorSchema's status to.AssertionError
- - if the actual ErrorSchema's status is not equal to the given one.Copyright © 2011–2014 Red Hat. All rights reserved.