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