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