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