public abstract class AbstractMetricTargetAssert<S extends AbstractMetricTargetAssert<S,A>,A extends io.fabric8.kubernetes.api.model.MetricTarget>
extends org.assertj.core.api.AbstractAssert<S,A>
MetricTarget
specific assertions - Generated by CustomAssertionGenerator.Modifier | Constructor and Description |
---|---|
protected |
AbstractMetricTargetAssert(A actual,
Class<S> selfType)
Creates a new
to make assertions on actual MetricTarget. |
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
|
QuantityAssert |
averageValue()
Navigates to the property averageValue so that assertions can be done on it
|
S |
hasAverageUtilization(Integer averageUtilization)
Verifies that the actual MetricTarget's averageUtilization is equal to the given one.
|
org.assertj.core.api.StringAssert |
type()
Navigates to the property type so that assertions can be done on it
|
QuantityAssert |
value()
Navigates to the property value so that assertions can be done on it
|
asInstanceOf, asList, assertionError, asString, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, equals, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasSameHashCodeAs, hasToString, inBinary, inHexadecimal, is, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isInstanceOfSatisfying, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, matches, matches, newListAssertInstance, overridingErrorMessage, satisfies, satisfies, satisfiesAnyOf, satisfiesAnyOf, setCustomRepresentation, throwAssertionError, usingComparator, usingComparator, usingDefaultComparator, usingRecursiveComparison, usingRecursiveComparison, withFailMessage, withRepresentation, withThreadDumpOnError
protected AbstractMetricTargetAssert(A actual, Class<S> selfType)
AbstractMetricTargetAssert
to make assertions on actual MetricTarget.actual
- the MetricTarget we want to make assertions on.public org.assertj.core.api.MapAssert additionalProperties()
public S hasAverageUtilization(Integer averageUtilization)
averageUtilization
- the given averageUtilization to compare the actual MetricTarget's averageUtilization to.AssertionError
- - if the actual MetricTarget's averageUtilization is not equal to the given one.public QuantityAssert averageValue()
public org.assertj.core.api.StringAssert type()
public QuantityAssert value()
Copyright © 2020. All rights reserved.