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