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, describedAs, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, equals, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, is, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, overridingErrorMessage, usingComparator, usingDefaultComparator
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 © 2019. All rights reserved.