org.camunda.bpm.dmn.engine.test.asserts
Class DmnEngineAssertion

java.lang.Object
  extended by org.assertj.core.api.AbstractAssert<DmnEngineAssertion,DmnEngine>
      extended by org.camunda.bpm.dmn.engine.test.asserts.DmnEngineAssertion
All Implemented Interfaces:
org.assertj.core.api.Assert<DmnEngineAssertion,DmnEngine>, org.assertj.core.api.Descriptable<DmnEngineAssertion>, org.assertj.core.api.ExtensionPoints<DmnEngineAssertion,DmnEngine>

public class DmnEngineAssertion
extends org.assertj.core.api.AbstractAssert<DmnEngineAssertion,DmnEngine>


Field Summary
protected  DmnDecision decision
           
protected  Map<String,Object> variables
           
 
Fields inherited from class org.assertj.core.api.AbstractAssert
actual, info, myself
 
Constructor Summary
protected DmnEngineAssertion(DmnEngine actual)
           
 
Method Summary
 DmnEngineAssertion evaluates(DmnDecision decision, Map<String,Object> variables)
           
 DmnEngineAssertion evaluates(DmnDecisionModel decisionModel, Map<String,Object> variables)
           
 DmnEngineAssertion evaluates(DmnDecisionModel decisionModel, String decisionKey, Map<String,Object> variables)
           
 DmnDecisionResultAssertion hasEmptyResult()
           
 DmnDecisionResultAssertion hasResult()
           
 DmnDecisionOutputAssertion hasResult(Object value)
           
 DmnDecisionOutputAssertion hasResult(String name, String value)
           
<T extends Exception>
org.assertj.core.api.ThrowableAssert
thrown(Class<T> expectedException)
           
 
Methods inherited from class org.assertj.core.api.AbstractAssert
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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

decision

protected DmnDecision decision

variables

protected Map<String,Object> variables
Constructor Detail

DmnEngineAssertion

protected DmnEngineAssertion(DmnEngine actual)
Method Detail

evaluates

public DmnEngineAssertion evaluates(DmnDecision decision,
                                    Map<String,Object> variables)

evaluates

public DmnEngineAssertion evaluates(DmnDecisionModel decisionModel,
                                    Map<String,Object> variables)

evaluates

public DmnEngineAssertion evaluates(DmnDecisionModel decisionModel,
                                    String decisionKey,
                                    Map<String,Object> variables)

hasResult

public DmnDecisionResultAssertion hasResult()

hasResult

public DmnDecisionOutputAssertion hasResult(Object value)

hasResult

public DmnDecisionOutputAssertion hasResult(String name,
                                            String value)

hasEmptyResult

public DmnDecisionResultAssertion hasEmptyResult()

thrown

public <T extends Exception> org.assertj.core.api.ThrowableAssert thrown(Class<T> expectedException)


Copyright © 2015 camunda services GmbH. All rights reserved.