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