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 |
---|---|
org.assertj.core.api.MapAssert |
additionalProperties()
Navigates to the property additionalProperties so that assertions can be done on it
|
org.assertj.core.api.MapAssert |
annotations()
Navigates to the property annotations so that assertions can be done on it
|
org.assertj.core.api.StringAssert |
creationTimestamp()
Navigates to the property creationTimestamp so that assertions can be done on it
|
org.assertj.core.api.StringAssert |
deletionTimestamp()
Navigates to the property deletionTimestamp so that assertions can be done on it
|
NavigationListAssert<String,org.assertj.core.api.StringAssert> |
finalizers()
Navigates to the property finalizers so that assertions can be done on it
|
org.assertj.core.api.StringAssert |
generateName()
Navigates to the property generateName so that assertions can be done on it
|
S |
hasDeletionGracePeriodSeconds(Long deletionGracePeriodSeconds)
Verifies that the actual ObjectMeta's deletionGracePeriodSeconds is equal to the given one.
|
S |
hasGeneration(Long generation)
Verifies that the actual ObjectMeta's generation is equal to the given one.
|
org.assertj.core.api.MapAssert |
labels()
Navigates to the property labels so that assertions can be done on it
|
org.assertj.core.api.StringAssert |
name()
Navigates to the property name so that assertions can be done on it
|
org.assertj.core.api.StringAssert |
namespace()
Navigates to the property namespace so that assertions can be done on it
|
NavigationListAssert<io.fabric8.kubernetes.api.model.OwnerReference,OwnerReferenceAssert> |
ownerReferences()
Navigates to the property ownerReferences so that assertions can be done on it
|
org.assertj.core.api.StringAssert |
resourceVersion()
Navigates to the property resourceVersion so that assertions can be done on it
|
org.assertj.core.api.StringAssert |
selfLink()
Navigates to the property selfLink so that assertions can be done on it
|
org.assertj.core.api.StringAssert |
uid()
Navigates to the property uid so that assertions can be done on it
|
as, as, asList, asString, describedAs, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, equals, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasToString, 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, withFailMessage, withThreadDumpOnError
protected AbstractObjectMetaAssert(A actual, Class<S> selfType)
AbstractObjectMetaAssert
to make assertions on actual ObjectMeta.actual
- the ObjectMeta we want to make assertions on.public org.assertj.core.api.MapAssert additionalProperties()
public org.assertj.core.api.MapAssert annotations()
public org.assertj.core.api.StringAssert creationTimestamp()
public S hasDeletionGracePeriodSeconds(Long deletionGracePeriodSeconds)
deletionGracePeriodSeconds
- the given deletionGracePeriodSeconds to compare the actual ObjectMeta's deletionGracePeriodSeconds to.AssertionError
- - if the actual ObjectMeta's deletionGracePeriodSeconds is not equal to the given one.public org.assertj.core.api.StringAssert deletionTimestamp()
public NavigationListAssert<String,org.assertj.core.api.StringAssert> finalizers()
public org.assertj.core.api.StringAssert generateName()
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 org.assertj.core.api.MapAssert labels()
public org.assertj.core.api.StringAssert name()
public org.assertj.core.api.StringAssert namespace()
public NavigationListAssert<io.fabric8.kubernetes.api.model.OwnerReference,OwnerReferenceAssert> ownerReferences()
public org.assertj.core.api.StringAssert resourceVersion()
public org.assertj.core.api.StringAssert selfLink()
public org.assertj.core.api.StringAssert uid()
Copyright © 2011–2016 Red Hat. All rights reserved.