io.fabric8.kubernetes.api.model.EventSourceAssert Maven / Gradle / Ivy
package io.fabric8.kubernetes.api.model;
/**
* {@link EventSource} specific assertions - Generated by CustomAssertionGenerator.
*
* Although this class is not final to allow Soft assertions proxy, if you wish to extend it,
* extend {@link AbstractEventSourceAssert} instead.
*/
public class EventSourceAssert extends AbstractEventSourceAssert {
/**
* Creates a new {@link EventSourceAssert}
to make assertions on actual EventSource.
* @param actual the EventSource we want to make assertions on.
*/
public EventSourceAssert(EventSource actual) {
super(actual, EventSourceAssert.class);
}
/**
* An entry point for EventSourceAssert to follow AssertJ standard assertThat()
statements.
* With a static import, one can write directly: assertThat(myEventSource)
and get specific assertion with code completion.
* @param actual the EventSource we want to make assertions on.
* @return a new {@link EventSourceAssert}
*/
public static EventSourceAssert assertThat(EventSource actual) {
return new EventSourceAssert(actual);
}
}