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