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