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