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

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

package io.fabric8.kubernetes.api.model;


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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy