Class ChildElementAssert
- java.lang.Object
-
- org.assertj.core.api.AbstractAssert<ChildElementAssert,ChildElementCollection<?>>
-
- org.camunda.bpm.model.xml.test.assertions.ChildElementAssert
-
- All Implemented Interfaces:
org.assertj.core.api.Assert<ChildElementAssert,ChildElementCollection<?>>
,org.assertj.core.api.Descriptable<ChildElementAssert>
,org.assertj.core.api.ExtensionPoints<ChildElementAssert,ChildElementCollection<?>>
public class ChildElementAssert extends org.assertj.core.api.AbstractAssert<ChildElementAssert,ChildElementCollection<?>>
- Author:
- Sebastian Menski
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ChildElementAssert(ChildElementCollection<?> actual)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChildElementAssert
containsType(java.lang.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)
-
Methods inherited from class org.assertj.core.api.AbstractAssert
asInstanceOf, asList, assertionError, asString, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, doesNotHaveSameHashCodeAs, doesNotHaveToString, equals, extracting, extracting, failure, failureWithActualExpected, failWithActualExpectedAndMessage, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasSameHashCodeAs, hasToString, inBinary, inHexadecimal, is, isElementOfCustomAssert, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isInstanceOfSatisfying, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, matches, matches, newListAssertInstance, overridingErrorMessage, overridingErrorMessage, satisfies, satisfies, satisfies, satisfiesAnyOf, satisfiesAnyOf, satisfiesAnyOfForProxy, satisfiesForProxy, setCustomRepresentation, setDescriptionConsumer, setPrintAssertionsDescription, throwAssertionError, usingComparator, usingComparator, usingDefaultComparator, usingRecursiveComparison, usingRecursiveComparison, withFailMessage, withFailMessage, withRepresentation, withThreadDumpOnError
-
-
-
-
Constructor Detail
-
ChildElementAssert
protected ChildElementAssert(ChildElementCollection<?> actual)
-
-
Method Detail
-
occursMinimal
public ChildElementAssert occursMinimal(int minOccurs)
-
occursMaximal
public ChildElementAssert occursMaximal(int maxOccurs)
-
isOptional
public ChildElementAssert isOptional()
-
isUnbounded
public ChildElementAssert isUnbounded()
-
isMutable
public ChildElementAssert isMutable()
-
isImmutable
public ChildElementAssert isImmutable()
-
containsType
public ChildElementAssert containsType(java.lang.Class<? extends ModelElementInstance> childElementTypeClass)
-
hasParentElementType
public ChildElementAssert hasParentElementType(ModelElementType parentElementType)
-
isNotEmpty
public ChildElementAssert isNotEmpty(ModelElementInstance instance)
-
hasSize
public ChildElementAssert hasSize(ModelElementInstance instance, int numberOfChildElements)
-
isEmpty
public ChildElementAssert isEmpty(ModelElementInstance instance)
-
-