public abstract class AbstractPersistentVolumeSpecFluentAssert<S extends AbstractPersistentVolumeSpecFluentAssert<S,A>,A extends io.fabric8.kubernetes.api.model.PersistentVolumeSpecFluent>
extends org.assertj.core.api.AbstractAssert<S,A>
PersistentVolumeSpecFluent
specific assertions - Generated by CustomAssertionGenerator.Modifier | Constructor and Description |
---|---|
protected |
AbstractPersistentVolumeSpecFluentAssert(A actual,
Class<S> selfType)
Creates a new
to make assertions on actual PersistentVolumeSpecFluent. |
Modifier and Type | Method and Description |
---|---|
S |
hasAccessModes(String... accessModes)
Verifies that the actual PersistentVolumeSpecFluent's accessModes contains the given String elements.
|
S |
hasAdditionalProperties(Map additionalProperties)
Verifies that the actual PersistentVolumeSpecFluent's additionalProperties is equal to the given one.
|
S |
hasAwsElasticBlockStore(io.fabric8.kubernetes.api.model.AWSElasticBlockStoreVolumeSource awsElasticBlockStore)
Verifies that the actual PersistentVolumeSpecFluent's awsElasticBlockStore is equal to the given one.
|
S |
hasCapacity(Map capacity)
Verifies that the actual PersistentVolumeSpecFluent's capacity is equal to the given one.
|
S |
hasCephfs(io.fabric8.kubernetes.api.model.CephFSVolumeSource cephfs)
Verifies that the actual PersistentVolumeSpecFluent's cephfs is equal to the given one.
|
S |
hasClaimRef(io.fabric8.kubernetes.api.model.ObjectReference claimRef)
Verifies that the actual PersistentVolumeSpecFluent's claimRef is equal to the given one.
|
S |
hasGcePersistentDisk(io.fabric8.kubernetes.api.model.GCEPersistentDiskVolumeSource gcePersistentDisk)
Verifies that the actual PersistentVolumeSpecFluent's gcePersistentDisk is equal to the given one.
|
S |
hasGlusterfs(io.fabric8.kubernetes.api.model.GlusterfsVolumeSource glusterfs)
Verifies that the actual PersistentVolumeSpecFluent's glusterfs is equal to the given one.
|
S |
hasHostPath(io.fabric8.kubernetes.api.model.HostPathVolumeSource hostPath)
Verifies that the actual PersistentVolumeSpecFluent's hostPath is equal to the given one.
|
S |
hasIscsi(io.fabric8.kubernetes.api.model.ISCSIVolumeSource iscsi)
Verifies that the actual PersistentVolumeSpecFluent's iscsi is equal to the given one.
|
S |
hasNfs(io.fabric8.kubernetes.api.model.NFSVolumeSource nfs)
Verifies that the actual PersistentVolumeSpecFluent's nfs is equal to the given one.
|
S |
hasNoAccessModes()
Verifies that the actual PersistentVolumeSpecFluent has no accessModes.
|
S |
hasPersistentVolumeReclaimPolicy(String persistentVolumeReclaimPolicy)
Verifies that the actual PersistentVolumeSpecFluent's persistentVolumeReclaimPolicy is equal to the given one.
|
S |
hasRbd(io.fabric8.kubernetes.api.model.RBDVolumeSource rbd)
Verifies that the actual PersistentVolumeSpecFluent's rbd is equal to the given one.
|
as, as, describedAs, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, equals, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, inBinary, inHexadecimal, is, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, overridingErrorMessage, usingComparator, usingDefaultComparator
protected AbstractPersistentVolumeSpecFluentAssert(A actual, Class<S> selfType)
AbstractPersistentVolumeSpecFluentAssert
to make assertions on actual PersistentVolumeSpecFluent.actual
- the PersistentVolumeSpecFluent we want to make assertions on.public S hasAccessModes(String... accessModes)
accessModes
- the given elements that should be contained in actual PersistentVolumeSpecFluent's accessModes.AssertionError
- if the actual PersistentVolumeSpecFluent's accessModes does not contain all given String elements.public S hasNoAccessModes()
AssertionError
- if the actual PersistentVolumeSpecFluent's accessModes is not empty.public S hasAdditionalProperties(Map additionalProperties)
additionalProperties
- the given additionalProperties to compare the actual PersistentVolumeSpecFluent's additionalProperties to.AssertionError
- - if the actual PersistentVolumeSpecFluent's additionalProperties is not equal to the given one.public S hasAwsElasticBlockStore(io.fabric8.kubernetes.api.model.AWSElasticBlockStoreVolumeSource awsElasticBlockStore)
awsElasticBlockStore
- the given awsElasticBlockStore to compare the actual PersistentVolumeSpecFluent's awsElasticBlockStore to.AssertionError
- - if the actual PersistentVolumeSpecFluent's awsElasticBlockStore is not equal to the given one.public S hasCapacity(Map capacity)
capacity
- the given capacity to compare the actual PersistentVolumeSpecFluent's capacity to.AssertionError
- - if the actual PersistentVolumeSpecFluent's capacity is not equal to the given one.public S hasCephfs(io.fabric8.kubernetes.api.model.CephFSVolumeSource cephfs)
cephfs
- the given cephfs to compare the actual PersistentVolumeSpecFluent's cephfs to.AssertionError
- - if the actual PersistentVolumeSpecFluent's cephfs is not equal to the given one.public S hasClaimRef(io.fabric8.kubernetes.api.model.ObjectReference claimRef)
claimRef
- the given claimRef to compare the actual PersistentVolumeSpecFluent's claimRef to.AssertionError
- - if the actual PersistentVolumeSpecFluent's claimRef is not equal to the given one.public S hasGcePersistentDisk(io.fabric8.kubernetes.api.model.GCEPersistentDiskVolumeSource gcePersistentDisk)
gcePersistentDisk
- the given gcePersistentDisk to compare the actual PersistentVolumeSpecFluent's gcePersistentDisk to.AssertionError
- - if the actual PersistentVolumeSpecFluent's gcePersistentDisk is not equal to the given one.public S hasGlusterfs(io.fabric8.kubernetes.api.model.GlusterfsVolumeSource glusterfs)
glusterfs
- the given glusterfs to compare the actual PersistentVolumeSpecFluent's glusterfs to.AssertionError
- - if the actual PersistentVolumeSpecFluent's glusterfs is not equal to the given one.public S hasHostPath(io.fabric8.kubernetes.api.model.HostPathVolumeSource hostPath)
hostPath
- the given hostPath to compare the actual PersistentVolumeSpecFluent's hostPath to.AssertionError
- - if the actual PersistentVolumeSpecFluent's hostPath is not equal to the given one.public S hasIscsi(io.fabric8.kubernetes.api.model.ISCSIVolumeSource iscsi)
iscsi
- the given iscsi to compare the actual PersistentVolumeSpecFluent's iscsi to.AssertionError
- - if the actual PersistentVolumeSpecFluent's iscsi is not equal to the given one.public S hasNfs(io.fabric8.kubernetes.api.model.NFSVolumeSource nfs)
nfs
- the given nfs to compare the actual PersistentVolumeSpecFluent's nfs to.AssertionError
- - if the actual PersistentVolumeSpecFluent's nfs is not equal to the given one.public S hasPersistentVolumeReclaimPolicy(String persistentVolumeReclaimPolicy)
persistentVolumeReclaimPolicy
- the given persistentVolumeReclaimPolicy to compare the actual PersistentVolumeSpecFluent's persistentVolumeReclaimPolicy to.AssertionError
- - if the actual PersistentVolumeSpecFluent's persistentVolumeReclaimPolicy is not equal to the given one.public S hasRbd(io.fabric8.kubernetes.api.model.RBDVolumeSource rbd)
rbd
- the given rbd to compare the actual PersistentVolumeSpecFluent's rbd to.AssertionError
- - if the actual PersistentVolumeSpecFluent's rbd is not equal to the given one.Copyright © 2011–2015 Red Hat. All rights reserved.