public class ChildElementAssert extends org.assertj.core.api.AbstractAssert<ChildElementAssert,ChildElementCollection<?>>
Modifier | Constructor and Description |
---|---|
protected |
ChildElementAssert(ChildElementCollection<?> actual) |
Modifier and Type | Method and Description |
---|---|
ChildElementAssert |
containsType(Class<? extends ModelElementInstance> childElementTypeClass) |
ChildElementAssert |
hasParentElementType(ModelElementType parentElementType) |
ChildElementAssert |
hasSize(ModelElementInstance instance,
int numberOfChildElements) |
ChildElementAssert |
isEmpty(ModelElementInstance instance) |
ChildElementAssert |
isImmutable() |
ChildElementAssert |
isMutable() |
ChildElementAssert |
isNotEmpty(ModelElementInstance instance) |
ChildElementAssert |
isOptional() |
ChildElementAssert |
isUnbounded() |
ChildElementAssert |
occursMaximal(int maxOccurs) |
ChildElementAssert |
occursMinimal(int minOccurs) |
as, as, asInstanceOf, asList, asString, describedAs, 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, withFailMessage, withRepresentation, withThreadDumpOnError
protected ChildElementAssert(ChildElementCollection<?> actual)
public ChildElementAssert occursMinimal(int minOccurs)
public ChildElementAssert occursMaximal(int maxOccurs)
public ChildElementAssert isOptional()
public ChildElementAssert isUnbounded()
public ChildElementAssert isMutable()
public ChildElementAssert isImmutable()
public ChildElementAssert containsType(Class<? extends ModelElementInstance> childElementTypeClass)
public ChildElementAssert hasParentElementType(ModelElementType parentElementType)
public ChildElementAssert isNotEmpty(ModelElementInstance instance)
public ChildElementAssert hasSize(ModelElementInstance instance, int numberOfChildElements)
public ChildElementAssert isEmpty(ModelElementInstance instance)
Copyright © 2021. All rights reserved.