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