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