public abstract class AbstractCauseAssert<S extends AbstractCauseAssert<S,A>,A extends io.fabric8.kubernetes.api.model.Cause>
extends org.assertj.core.api.AbstractAssert<S,A>
Cause
specific assertions - Generated by CustomAssertionGenerator.Modifier | Constructor and Description |
---|---|
protected |
AbstractCauseAssert(A actual,
Class<S> selfType)
Creates a new
to make assertions on actual Cause. |
Modifier and Type | Method and Description |
---|---|
S |
hasAdditionalProperties(Map additionalProperties)
Verifies that the actual Cause's additionalProperties is equal to the given one.
|
S |
hasField(String field)
Verifies that the actual Cause's field is equal to the given one.
|
S |
hasMessage(String message)
Verifies that the actual Cause's message is equal to the given one.
|
S |
hasReason(String reason)
Verifies that the actual Cause's reason 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 AbstractCauseAssert(A actual, Class<S> selfType)
AbstractCauseAssert
to make assertions on actual Cause.actual
- the Cause we want to make assertions on.public S hasAdditionalProperties(Map additionalProperties)
additionalProperties
- the given additionalProperties to compare the actual Cause's additionalProperties to.AssertionError
- - if the actual Cause's additionalProperties is not equal to the given one.public S hasField(String field)
field
- the given field to compare the actual Cause's field to.AssertionError
- - if the actual Cause's field is not equal to the given one.public S hasMessage(String message)
message
- the given message to compare the actual Cause's message to.AssertionError
- - if the actual Cause's message is not equal to the given one.public S hasReason(String reason)
reason
- the given reason to compare the actual Cause's reason to.AssertionError
- - if the actual Cause's reason is not equal to the given one.Copyright © 2011–2014 Red Hat. All rights reserved.