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