public abstract class AbstractObjectMetaAssert<S extends AbstractObjectMetaAssert<S,A>,A extends io.fabric8.kubernetes.api.model.ObjectMeta>
extends org.assertj.core.api.AbstractAssert<S,A>
ObjectMeta
specific assertions - Generated by CustomAssertionGenerator.Modifier | Constructor and Description |
---|---|
protected |
AbstractObjectMetaAssert(A actual,
Class<S> selfType)
Creates a new
to make assertions on actual ObjectMeta. |
Modifier and Type | Method and Description |
---|---|
S |
hasAdditionalProperties(Map additionalProperties)
Verifies that the actual ObjectMeta's additionalProperties is equal to the given one.
|
S |
hasAnnotations(Map annotations)
Verifies that the actual ObjectMeta's annotations is equal to the given one.
|
S |
hasCreationTimestamp(String creationTimestamp)
Verifies that the actual ObjectMeta's creationTimestamp is equal to the given one.
|
S |
hasDeletionTimestamp(String deletionTimestamp)
Verifies that the actual ObjectMeta's deletionTimestamp is equal to the given one.
|
S |
hasGenerateName(String generateName)
Verifies that the actual ObjectMeta's generateName is equal to the given one.
|
S |
hasGeneration(Long generation)
Verifies that the actual ObjectMeta's generation is equal to the given one.
|
S |
hasLabels(Map labels)
Verifies that the actual ObjectMeta's labels is equal to the given one.
|
S |
hasName(String name)
Verifies that the actual ObjectMeta's name is equal to the given one.
|
S |
hasNamespace(String namespace)
Verifies that the actual ObjectMeta's namespace is equal to the given one.
|
S |
hasResourceVersion(String resourceVersion)
Verifies that the actual ObjectMeta's resourceVersion is equal to the given one.
|
S |
hasSelfLink(String selfLink)
Verifies that the actual ObjectMeta's selfLink is equal to the given one.
|
S |
hasUid(String uid)
Verifies that the actual ObjectMeta's uid 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 AbstractObjectMetaAssert(A actual, Class<S> selfType)
AbstractObjectMetaAssert
to make assertions on actual ObjectMeta.actual
- the ObjectMeta we want to make assertions on.public S hasAdditionalProperties(Map additionalProperties)
additionalProperties
- the given additionalProperties to compare the actual ObjectMeta's additionalProperties to.AssertionError
- - if the actual ObjectMeta's additionalProperties is not equal to the given one.public S hasAnnotations(Map annotations)
annotations
- the given annotations to compare the actual ObjectMeta's annotations to.AssertionError
- - if the actual ObjectMeta's annotations is not equal to the given one.public S hasCreationTimestamp(String creationTimestamp)
creationTimestamp
- the given creationTimestamp to compare the actual ObjectMeta's creationTimestamp to.AssertionError
- - if the actual ObjectMeta's creationTimestamp is not equal to the given one.public S hasDeletionTimestamp(String deletionTimestamp)
deletionTimestamp
- the given deletionTimestamp to compare the actual ObjectMeta's deletionTimestamp to.AssertionError
- - if the actual ObjectMeta's deletionTimestamp is not equal to the given one.public S hasGenerateName(String generateName)
generateName
- the given generateName to compare the actual ObjectMeta's generateName to.AssertionError
- - if the actual ObjectMeta's generateName is not equal to the given one.public S hasGeneration(Long generation)
generation
- the given generation to compare the actual ObjectMeta's generation to.AssertionError
- - if the actual ObjectMeta's generation is not equal to the given one.public S hasLabels(Map labels)
labels
- the given labels to compare the actual ObjectMeta's labels to.AssertionError
- - if the actual ObjectMeta's labels is not equal to the given one.public S hasName(String name)
name
- the given name to compare the actual ObjectMeta's name to.AssertionError
- - if the actual ObjectMeta's name is not equal to the given one.public S hasNamespace(String namespace)
namespace
- the given namespace to compare the actual ObjectMeta's namespace to.AssertionError
- - if the actual ObjectMeta's namespace is not equal to the given one.public S hasResourceVersion(String resourceVersion)
resourceVersion
- the given resourceVersion to compare the actual ObjectMeta's resourceVersion to.AssertionError
- - if the actual ObjectMeta's resourceVersion is not equal to the given one.public S hasSelfLink(String selfLink)
selfLink
- the given selfLink to compare the actual ObjectMeta's selfLink to.AssertionError
- - if the actual ObjectMeta's selfLink is not equal to the given one.public S hasUid(String uid)
uid
- the given uid to compare the actual ObjectMeta's uid to.AssertionError
- - if the actual ObjectMeta's uid is not equal to the given one.Copyright © 2011–2015 Red Hat. All rights reserved.