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