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