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. |
additionalProperties, apiVersion, firstTimestamp, hasCount, involvedObject, kind, lastTimestamp, message, metadata, reason, source, type
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
public 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.EventAssert
Copyright © 2011–2016 Red Hat. All rights reserved.