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