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