All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.fabric8.kubernetes.api.model.NodeSpecAssert Maven / Gradle / Ivy

The newest version!
package io.fabric8.kubernetes.api.model;


/**
 * {@link NodeSpec} specific assertions - Generated by CustomAssertionGenerator.
 *
 * Although this class is not final to allow Soft assertions proxy, if you wish to extend it, 
 * extend {@link AbstractNodeSpecAssert} instead.
 */
public class NodeSpecAssert extends AbstractNodeSpecAssert {

  /**
   * Creates a new {@link NodeSpecAssert} to make assertions on actual NodeSpec.
   * @param actual the NodeSpec we want to make assertions on.
   */
  public NodeSpecAssert(NodeSpec actual) {
    super(actual, NodeSpecAssert.class);
  }

  /**
   * An entry point for NodeSpecAssert to follow AssertJ standard assertThat() statements.
* With a static import, one can write directly: assertThat(myNodeSpec) and get specific assertion with code completion. * @param actual the NodeSpec we want to make assertions on. * @return a new {@link NodeSpecAssert} */ public static NodeSpecAssert assertThat(NodeSpec actual) { return new NodeSpecAssert(actual); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy