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