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