org.camunda.bpm.model.xml.test.assertions
Class ChildElementAssert

java.lang.Object
  extended by org.assertj.core.api.AbstractAssert<ChildElementAssert,ChildElementCollection<?>>
      extended by 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

Field Summary
 
Fields inherited from class org.assertj.core.api.AbstractAssert
actual, info, myself
 
Constructor Summary
protected ChildElementAssert(ChildElementCollection<?> actual)
           
 
Method Summary
 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)
           
 
Methods inherited from class org.assertj.core.api.AbstractAssert
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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

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(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)


Copyright © 2016 camunda services GmbH. All rights reserved.