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