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