io.fabric8.kubernetes.api.model.storage.VolumeAttachmentAssert Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kubernetes-assertions
Show all versions of kubernetes-assertions
This library provides a bunch of helpful assertj assertions for working with the kubernetes-api.
The newest version!
package io.fabric8.kubernetes.api.model.storage;
/**
* {@link VolumeAttachment} specific assertions - Generated by CustomAssertionGenerator.
*
* Although this class is not final to allow Soft assertions proxy, if you wish to extend it,
* extend {@link AbstractVolumeAttachmentAssert} instead.
*/
public class VolumeAttachmentAssert extends AbstractVolumeAttachmentAssert {
/**
* Creates a new {@link VolumeAttachmentAssert}
to make assertions on actual VolumeAttachment.
* @param actual the VolumeAttachment we want to make assertions on.
*/
public VolumeAttachmentAssert(VolumeAttachment actual) {
super(actual, VolumeAttachmentAssert.class);
}
/**
* An entry point for VolumeAttachmentAssert to follow AssertJ standard assertThat()
statements.
* With a static import, one can write directly: assertThat(myVolumeAttachment)
and get specific assertion with code completion.
* @param actual the VolumeAttachment we want to make assertions on.
* @return a new {@link VolumeAttachmentAssert}
*/
public static VolumeAttachmentAssert assertThat(VolumeAttachment actual) {
return new VolumeAttachmentAssert(actual);
}
}