io.fabric8.kubernetes.api.model.settings.PodPresetAssert Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kubernetes-assertions
Show all versions of kubernetes-assertions
This library provides a bunch of helpful assertj assertions for working with the kubernetes-api.
The newest version!
package io.fabric8.kubernetes.api.model.settings;
/**
* {@link PodPreset} specific assertions - Generated by CustomAssertionGenerator.
*
* Although this class is not final to allow Soft assertions proxy, if you wish to extend it,
* extend {@link AbstractPodPresetAssert} instead.
*/
public class PodPresetAssert extends AbstractPodPresetAssert {
/**
* Creates a new {@link PodPresetAssert}
to make assertions on actual PodPreset.
* @param actual the PodPreset we want to make assertions on.
*/
public PodPresetAssert(PodPreset actual) {
super(actual, PodPresetAssert.class);
}
/**
* An entry point for PodPresetAssert to follow AssertJ standard assertThat()
statements.
* With a static import, one can write directly: assertThat(myPodPreset)
and get specific assertion with code completion.
* @param actual the PodPreset we want to make assertions on.
* @return a new {@link PodPresetAssert}
*/
public static PodPresetAssert assertThat(PodPreset actual) {
return new PodPresetAssert(actual);
}
}