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