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