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 |
---|---|
org.assertj.core.api.StringAssert |
action()
Navigates to the property action so that assertions can be done on it
|
org.assertj.core.api.MapAssert |
additionalProperties()
Navigates to the property additionalProperties so that assertions can be done on it
|
org.assertj.core.api.StringAssert |
apiVersion()
Navigates to the property apiVersion so that assertions can be done on it
|
MicroTimeAssert |
eventTime()
Navigates to the property eventTime so that assertions can be done on it
|
org.assertj.core.api.StringAssert |
firstTimestamp()
Navigates to the property firstTimestamp so that assertions can be done on it
|
S |
hasCount(Integer count)
Verifies that the actual Event's count is equal to the given one.
|
ObjectReferenceAssert |
involvedObject()
Navigates to the property involvedObject so that assertions can be done on it
|
org.assertj.core.api.StringAssert |
kind()
Navigates to the property kind so that assertions can be done on it
|
org.assertj.core.api.StringAssert |
lastTimestamp()
Navigates to the property lastTimestamp so that assertions can be done on it
|
org.assertj.core.api.StringAssert |
message()
Navigates to the property message so that assertions can be done on it
|
ObjectMetaAssert |
metadata()
Navigates to the property metadata so that assertions can be done on it
|
org.assertj.core.api.StringAssert |
reason()
Navigates to the property reason so that assertions can be done on it
|
ObjectReferenceAssert |
related()
Navigates to the property related so that assertions can be done on it
|
org.assertj.core.api.StringAssert |
reportingComponent()
Navigates to the property reportingComponent so that assertions can be done on it
|
org.assertj.core.api.StringAssert |
reportingInstance()
Navigates to the property reportingInstance so that assertions can be done on it
|
EventSeriesAssert |
series()
Navigates to the property series so that assertions can be done on it
|
EventSourceAssert |
source()
Navigates to the property source so that assertions can be done on it
|
org.assertj.core.api.StringAssert |
type()
Navigates to the property type so that assertions can be done on it
|
asInstanceOf, asList, assertionError, asString, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, equals, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasSameHashCodeAs, 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, newListAssertInstance, overridingErrorMessage, satisfies, satisfies, satisfiesAnyOf, satisfiesAnyOf, setCustomRepresentation, throwAssertionError, usingComparator, usingComparator, usingDefaultComparator, usingRecursiveComparison, usingRecursiveComparison, withFailMessage, withRepresentation, withThreadDumpOnError
protected AbstractEventAssert(A actual, Class<S> selfType)
AbstractEventAssert
to make assertions on actual Event.actual
- the Event we want to make assertions on.public org.assertj.core.api.StringAssert action()
public org.assertj.core.api.MapAssert additionalProperties()
public org.assertj.core.api.StringAssert apiVersion()
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 MicroTimeAssert eventTime()
public org.assertj.core.api.StringAssert firstTimestamp()
public ObjectReferenceAssert involvedObject()
public org.assertj.core.api.StringAssert kind()
public org.assertj.core.api.StringAssert lastTimestamp()
public org.assertj.core.api.StringAssert message()
public ObjectMetaAssert metadata()
public org.assertj.core.api.StringAssert reason()
public ObjectReferenceAssert related()
public org.assertj.core.api.StringAssert reportingComponent()
public org.assertj.core.api.StringAssert reportingInstance()
public EventSeriesAssert series()
public EventSourceAssert source()
public org.assertj.core.api.StringAssert type()
Copyright © 2020. All rights reserved.