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