io.fabric8.kubernetes.api.model.authentication.TokenReviewSpecAssert Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of assertions Show documentation
Show all versions of assertions Show documentation
A port of Kubernetes Assertions Library by Fabric8
The newest version!
package io.fabric8.kubernetes.api.model.authentication;
/**
* {@link TokenReviewSpec} specific assertions - Generated by CustomAssertionGenerator.
*
* Although this class is not final to allow Soft assertions proxy, if you wish to extend it,
* extend {@link AbstractTokenReviewSpecAssert} instead.
*/
public class TokenReviewSpecAssert extends AbstractTokenReviewSpecAssert {
/**
* Creates a new {@link TokenReviewSpecAssert}
to make assertions on actual TokenReviewSpec.
* @param actual the TokenReviewSpec we want to make assertions on.
*/
public TokenReviewSpecAssert(TokenReviewSpec actual) {
super(actual, TokenReviewSpecAssert.class);
}
/**
* An entry point for TokenReviewSpecAssert to follow AssertJ standard assertThat()
statements.
* With a static import, one can write directly: assertThat(myTokenReviewSpec)
and get specific assertion with code completion.
* @param actual the TokenReviewSpec we want to make assertions on.
* @return a new {@link TokenReviewSpecAssert}
*/
public static TokenReviewSpecAssert assertThat(TokenReviewSpec actual) {
return new TokenReviewSpecAssert(actual);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy