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