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

io.fabric8.kubernetes.api.model.coordination.v1.LeaseSpecAssert Maven / Gradle / Ivy

package io.fabric8.kubernetes.api.model.coordination.v1;


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

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy