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