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