io.fabric8.kubernetes.api.model.apiextensions.CustomResourceDefinitionVersionAssert Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kubernetes-assertions
Show all versions of kubernetes-assertions
This library provides a bunch of helpful assertj assertions for working with the kubernetes-api.
The newest version!
package io.fabric8.kubernetes.api.model.apiextensions;
/**
* {@link CustomResourceDefinitionVersion} specific assertions - Generated by CustomAssertionGenerator.
*
* Although this class is not final to allow Soft assertions proxy, if you wish to extend it,
* extend {@link AbstractCustomResourceDefinitionVersionAssert} instead.
*/
public class CustomResourceDefinitionVersionAssert extends AbstractCustomResourceDefinitionVersionAssert {
/**
* Creates a new {@link CustomResourceDefinitionVersionAssert}
to make assertions on actual CustomResourceDefinitionVersion.
* @param actual the CustomResourceDefinitionVersion we want to make assertions on.
*/
public CustomResourceDefinitionVersionAssert(CustomResourceDefinitionVersion actual) {
super(actual, CustomResourceDefinitionVersionAssert.class);
}
/**
* An entry point for CustomResourceDefinitionVersionAssert to follow AssertJ standard assertThat()
statements.
* With a static import, one can write directly: assertThat(myCustomResourceDefinitionVersion)
and get specific assertion with code completion.
* @param actual the CustomResourceDefinitionVersion we want to make assertions on.
* @return a new {@link CustomResourceDefinitionVersionAssert}
*/
public static CustomResourceDefinitionVersionAssert assertThat(CustomResourceDefinitionVersion actual) {
return new CustomResourceDefinitionVersionAssert(actual);
}
}