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