public abstract class AbstractHostPortRangeAssert<S extends AbstractHostPortRangeAssert<S,A>,A extends io.fabric8.kubernetes.api.model.extensions.HostPortRange>
extends org.assertj.core.api.AbstractAssert<S,A>
HostPortRange
specific assertions - Generated by CustomAssertionGenerator.Modifier | Constructor and Description |
---|---|
protected |
AbstractHostPortRangeAssert(A actual,
Class<S> selfType)
Creates a new
to make assertions on actual HostPortRange. |
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 |
hasMax(Integer max)
Verifies that the actual HostPortRange's max is equal to the given one.
|
S |
hasMin(Integer min)
Verifies that the actual HostPortRange's min is equal to the given one.
|
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 AbstractHostPortRangeAssert(A actual, Class<S> selfType)
AbstractHostPortRangeAssert
to make assertions on actual HostPortRange.actual
- the HostPortRange we want to make assertions on.public org.assertj.core.api.MapAssert additionalProperties()
public S hasMax(Integer max)
max
- the given max to compare the actual HostPortRange's max to.AssertionError
- - if the actual HostPortRange's max is not equal to the given one.public S hasMin(Integer min)
min
- the given min to compare the actual HostPortRange's min to.AssertionError
- - if the actual HostPortRange's min is not equal to the given one.Copyright © 2011–2018 Red Hat. All rights reserved.