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