public abstract class AbstractEventAssert<S extends AbstractEventAssert<S,A>,A extends io.fabric8.kubernetes.api.model.Event>
extends org.assertj.core.api.AbstractAssert<S,A>
Event
specific assertions - Generated by CustomAssertionGenerator.Modifier | Constructor and Description |
---|---|
protected |
AbstractEventAssert(A actual,
Class<S> selfType)
Creates a new
to make assertions on actual Event. |
Modifier and Type | Method and Description |
---|---|
S |
hasAdditionalProperties(Map additionalProperties)
Verifies that the actual Event's additionalProperties is equal to the given one.
|
S |
hasApiVersion(io.fabric8.kubernetes.api.model.Event.ApiVersion apiVersion)
Verifies that the actual Event's apiVersion is equal to the given one.
|
S |
hasCount(Integer count)
Verifies that the actual Event's count is equal to the given one.
|
S |
hasFirstTimestamp(String firstTimestamp)
Verifies that the actual Event's firstTimestamp is equal to the given one.
|
S |
hasInvolvedObject(io.fabric8.kubernetes.api.model.ObjectReference involvedObject)
Verifies that the actual Event's involvedObject is equal to the given one.
|
S |
hasKind(String kind)
Verifies that the actual Event's kind is equal to the given one.
|
S |
hasLastTimestamp(String lastTimestamp)
Verifies that the actual Event's lastTimestamp is equal to the given one.
|
S |
hasMessage(String message)
Verifies that the actual Event's message is equal to the given one.
|
S |
hasMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata)
Verifies that the actual Event's metadata is equal to the given one.
|
S |
hasReason(String reason)
Verifies that the actual Event's reason is equal to the given one.
|
S |
hasSource(io.fabric8.kubernetes.api.model.EventSource source)
Verifies that the actual Event's source 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 AbstractEventAssert(A actual, Class<S> selfType)
AbstractEventAssert
to make assertions on actual Event.actual
- the Event we want to make assertions on.public S hasAdditionalProperties(Map additionalProperties)
additionalProperties
- the given additionalProperties to compare the actual Event's additionalProperties to.AssertionError
- - if the actual Event's additionalProperties is not equal to the given one.public S hasApiVersion(io.fabric8.kubernetes.api.model.Event.ApiVersion apiVersion)
apiVersion
- the given apiVersion to compare the actual Event's apiVersion to.AssertionError
- - if the actual Event's apiVersion is not equal to the given one.public S hasCount(Integer count)
count
- the given count to compare the actual Event's count to.AssertionError
- - if the actual Event's count is not equal to the given one.public S hasFirstTimestamp(String firstTimestamp)
firstTimestamp
- the given firstTimestamp to compare the actual Event's firstTimestamp to.AssertionError
- - if the actual Event's firstTimestamp is not equal to the given one.public S hasInvolvedObject(io.fabric8.kubernetes.api.model.ObjectReference involvedObject)
involvedObject
- the given involvedObject to compare the actual Event's involvedObject to.AssertionError
- - if the actual Event's involvedObject is not equal to the given one.public S hasKind(String kind)
kind
- the given kind to compare the actual Event's kind to.AssertionError
- - if the actual Event's kind is not equal to the given one.public S hasLastTimestamp(String lastTimestamp)
lastTimestamp
- the given lastTimestamp to compare the actual Event's lastTimestamp to.AssertionError
- - if the actual Event's lastTimestamp is not equal to the given one.public S hasMessage(String message)
message
- the given message to compare the actual Event's message to.AssertionError
- - if the actual Event's message is not equal to the given one.public S hasMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata)
metadata
- the given metadata to compare the actual Event's metadata to.AssertionError
- - if the actual Event's metadata is not equal to the given one.public S hasReason(String reason)
reason
- the given reason to compare the actual Event's reason to.AssertionError
- - if the actual Event's reason is not equal to the given one.public S hasSource(io.fabric8.kubernetes.api.model.EventSource source)
source
- the given source to compare the actual Event's source to.AssertionError
- - if the actual Event's source is not equal to the given one.Copyright © 2011–2016 Red Hat. All rights reserved.