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.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
|
TimeAssert |
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
|
TimeAssert |
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
|
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
|
as, as, asList, asString, describedAs, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, equals, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasToString, 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, withFailMessage, 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.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 TimeAssert firstTimestamp()
public ObjectReferenceAssert involvedObject()
public org.assertj.core.api.StringAssert kind()
public TimeAssert lastTimestamp()
public org.assertj.core.api.StringAssert message()
public ObjectMetaAssert metadata()
public org.assertj.core.api.StringAssert reason()
public EventSourceAssert source()
public org.assertj.core.api.StringAssert type()
Copyright © 2011–2017 Red Hat. All rights reserved.