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