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