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