public abstract class AbstractDesiredStateAssert<S extends AbstractDesiredStateAssert<S,A>,A extends io.fabric8.kubernetes.api.model.DesiredState>
extends org.assertj.core.api.AbstractAssert<S,A>
DesiredState
specific assertions - Generated by CustomAssertionGenerator.Modifier | Constructor and Description |
---|---|
protected |
AbstractDesiredStateAssert(A actual,
Class<S> selfType)
Creates a new
to make assertions on actual DesiredState. |
Modifier and Type | Method and Description |
---|---|
S |
hasAdditionalProperties(Map additionalProperties)
Verifies that the actual DesiredState's additionalProperties is equal to the given one.
|
S |
hasHost(String host)
Verifies that the actual DesiredState's host is equal to the given one.
|
S |
hasInfo(io.fabric8.kubernetes.api.model.Info info)
Verifies that the actual DesiredState's info is equal to the given one.
|
S |
hasManifest(io.fabric8.kubernetes.api.model.Manifest manifest)
Verifies that the actual DesiredState's manifest is equal to the given one.
|
S |
hasPodIP(String podIP)
Verifies that the actual DesiredState's podIP is equal to the given one.
|
S |
hasStatus(String status)
Verifies that the actual DesiredState's status 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 AbstractDesiredStateAssert(A actual, Class<S> selfType)
AbstractDesiredStateAssert
to make assertions on actual DesiredState.actual
- the DesiredState we want to make assertions on.public S hasAdditionalProperties(Map additionalProperties)
additionalProperties
- the given additionalProperties to compare the actual DesiredState's additionalProperties to.AssertionError
- - if the actual DesiredState's additionalProperties is not equal to the given one.public S hasHost(String host)
host
- the given host to compare the actual DesiredState's host to.AssertionError
- - if the actual DesiredState's host is not equal to the given one.public S hasInfo(io.fabric8.kubernetes.api.model.Info info)
info
- the given info to compare the actual DesiredState's info to.AssertionError
- - if the actual DesiredState's info is not equal to the given one.public S hasManifest(io.fabric8.kubernetes.api.model.Manifest manifest)
manifest
- the given manifest to compare the actual DesiredState's manifest to.AssertionError
- - if the actual DesiredState's manifest is not equal to the given one.public S hasPodIP(String podIP)
podIP
- the given podIP to compare the actual DesiredState's podIP to.AssertionError
- - if the actual DesiredState's podIP is not equal to the given one.public S hasStatus(String status)
status
- the given status to compare the actual DesiredState's status to.AssertionError
- - if the actual DesiredState's status is not equal to the given one.Copyright © 2011–2014 Red Hat. All rights reserved.