public class EventAssert extends AbstractEventAssert<EventAssert,io.fabric8.kubernetes.api.model.Event>
Event specific assertions - Generated by CustomAssertionGenerator.
Although this class is not final to allow Soft assertions proxy, if you wish to extend it,
extend AbstractEventAssert instead.| Constructor and Description |
|---|
EventAssert(io.fabric8.kubernetes.api.model.Event actual)
Creates a new
to make assertions on actual Event. |
| Modifier and Type | Method and Description |
|---|---|
static EventAssert |
assertThat(io.fabric8.kubernetes.api.model.Event actual)
An entry point for EventAssert to follow AssertJ standard
assertThat() statements.With a static import, one can write directly: assertThat(myEvent) and get specific assertion with code completion. |
hasAdditionalProperties, hasApiVersion, hasCount, hasFirstTimestamp, hasInvolvedObject, hasKind, hasLastTimestamp, hasMessage, hasMetadata, hasReason, hasSourceas, 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, usingDefaultComparatorpublic EventAssert(io.fabric8.kubernetes.api.model.Event actual)
EventAssert to make assertions on actual Event.actual - the Event we want to make assertions on.public static EventAssert assertThat(io.fabric8.kubernetes.api.model.Event actual)
assertThat() statements.assertThat(myEvent) and get specific assertion with code completion.actual - the Event we want to make assertions on.EventAssertCopyright © 2011–2016 Red Hat. All rights reserved.