io.fabric8.kubernetes.api.model.HostAliasAssert 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;
/**
* {@link HostAlias} specific assertions - Generated by CustomAssertionGenerator.
*
* Although this class is not final to allow Soft assertions proxy, if you wish to extend it,
* extend {@link AbstractHostAliasAssert} instead.
*/
public class HostAliasAssert extends AbstractHostAliasAssert {
/**
* Creates a new {@link HostAliasAssert}
to make assertions on actual HostAlias.
* @param actual the HostAlias we want to make assertions on.
*/
public HostAliasAssert(HostAlias actual) {
super(actual, HostAliasAssert.class);
}
/**
* An entry point for HostAliasAssert to follow AssertJ standard assertThat()
statements.
* With a static import, one can write directly: assertThat(myHostAlias)
and get specific assertion with code completion.
* @param actual the HostAlias we want to make assertions on.
* @return a new {@link HostAliasAssert}
*/
public static HostAliasAssert assertThat(HostAlias actual) {
return new HostAliasAssert(actual);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy