public abstract class AbstractEnvAssert<S extends AbstractEnvAssert<S,A>,A extends io.fabric8.kubernetes.api.model.Env>
extends org.assertj.core.api.AbstractAssert<S,A>
Env
specific assertions - Generated by CustomAssertionGenerator.Modifier | Constructor and Description |
---|---|
protected |
AbstractEnvAssert(A actual,
Class<S> selfType)
Creates a new
to make assertions on actual Env. |
Modifier and Type | Method and Description |
---|---|
S |
hasAdditionalProperties(Map additionalProperties)
Verifies that the actual Env's additionalProperties is equal to the given one.
|
S |
hasName(String name)
Verifies that the actual Env's name is equal to the given one.
|
S |
hasValue(String value)
Verifies that the actual Env's value 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 AbstractEnvAssert(A actual, Class<S> selfType)
AbstractEnvAssert
to make assertions on actual Env.actual
- the Env we want to make assertions on.public S hasAdditionalProperties(Map additionalProperties)
additionalProperties
- the given additionalProperties to compare the actual Env's additionalProperties to.AssertionError
- - if the actual Env's additionalProperties is not equal to the given one.public S hasName(String name)
name
- the given name to compare the actual Env's name to.AssertionError
- - if the actual Env's name is not equal to the given one.public S hasValue(String value)
value
- the given value to compare the actual Env's value to.AssertionError
- - if the actual Env's value is not equal to the given one.Copyright © 2011–2014 Red Hat. All rights reserved.