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