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