io.fabric8.kubernetes.api.model.ComponentConditionAssert Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of assertions Show documentation
Show all versions of assertions Show documentation
A port of Kubernetes Assertions Library by Fabric8
The newest version!
package io.fabric8.kubernetes.api.model;
/**
* {@link ComponentCondition} specific assertions - Generated by CustomAssertionGenerator.
*
* Although this class is not final to allow Soft assertions proxy, if you wish to extend it,
* extend {@link AbstractComponentConditionAssert} instead.
*/
public class ComponentConditionAssert extends AbstractComponentConditionAssert {
/**
* Creates a new {@link ComponentConditionAssert}
to make assertions on actual ComponentCondition.
* @param actual the ComponentCondition we want to make assertions on.
*/
public ComponentConditionAssert(ComponentCondition actual) {
super(actual, ComponentConditionAssert.class);
}
/**
* An entry point for ComponentConditionAssert to follow AssertJ standard assertThat()
statements.
* With a static import, one can write directly: assertThat(myComponentCondition)
and get specific assertion with code completion.
* @param actual the ComponentCondition we want to make assertions on.
* @return a new {@link ComponentConditionAssert}
*/
public static ComponentConditionAssert assertThat(ComponentCondition actual) {
return new ComponentConditionAssert(actual);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy