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