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