public abstract class AbstractIntOrStringAssert<S extends AbstractIntOrStringAssert<S,A>,A extends io.fabric8.kubernetes.api.model.IntOrString>
extends org.assertj.core.api.AbstractAssert<S,A>
IntOrString
specific assertions - Generated by CustomAssertionGenerator.Modifier | Constructor and Description |
---|---|
protected |
AbstractIntOrStringAssert(A actual,
Class<S> selfType)
Creates a new
to make assertions on actual IntOrString. |
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
|
S |
hasIntVal(Integer intVal)
Verifies that the actual IntOrString's intVal is equal to the given one.
|
S |
hasKind(Integer kind)
Verifies that the actual IntOrString's kind is equal to the given one.
|
org.assertj.core.api.StringAssert |
strVal()
Navigates to the property strVal 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 AbstractIntOrStringAssert(A actual, Class<S> selfType)
AbstractIntOrStringAssert
to make assertions on actual IntOrString.actual
- the IntOrString we want to make assertions on.public org.assertj.core.api.MapAssert additionalProperties()
public S hasIntVal(Integer intVal)
intVal
- the given intVal to compare the actual IntOrString's intVal to.AssertionError
- - if the actual IntOrString's intVal is not equal to the given one.public S hasKind(Integer kind)
kind
- the given kind to compare the actual IntOrString's kind to.AssertionError
- - if the actual IntOrString's kind is not equal to the given one.public org.assertj.core.api.StringAssert strVal()
Copyright © 2011–2017 Red Hat. All rights reserved.