Class VariablesMapAssert
java.lang.Object
org.assertj.core.api.AbstractAssert<VariablesMapAssert,Map<String,String>>
io.camunda.zeebe.process.test.assertions.VariablesMapAssert
- All Implemented Interfaces:
org.assertj.core.api.Assert<VariablesMapAssert,,Map<String, String>> org.assertj.core.api.Descriptable<VariablesMapAssert>,org.assertj.core.api.ExtensionPoints<VariablesMapAssert,Map<String, String>>
public class VariablesMapAssert
extends org.assertj.core.api.AbstractAssert<VariablesMapAssert,Map<String,String>>
Assertion for variable maps
Map<String, String> which contain JSON strings as values
(e.g. variables in process instances, messages, job activations)-
Field Summary
Fields inherited from class org.assertj.core.api.AbstractAssert
actual, info, myself, objects, throwUnsupportedExceptionOnEquals -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncontainsVariable(String name) Assert that the given variable name is a key in the given map of variableshasVariableWithValue(String name, Object value) Methods inherited from class org.assertj.core.api.AbstractAssert
actual, areEqual, asInstanceOf, asList, assertionError, asString, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, doesNotHaveSameHashCodeAs, doesNotHaveToString, doesNotHaveToString, doesNotMatch, doesNotMatch, equals, extracting, extracting, failure, failureWithActualExpected, failWithActualExpectedAndMessage, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasSameHashCodeAs, hasToString, 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, usingEquals, usingEquals, usingRecursiveAssertion, usingRecursiveAssertion, usingRecursiveComparison, usingRecursiveComparison, withFailMessage, withFailMessage, withRepresentation, withThreadDumpOnErrorMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.assertj.core.api.Descriptable
as, as, as, describedAs, describedAs
-
Constructor Details
-
VariablesMapAssert
-
-
Method Details
-
containsVariable
Assert that the given variable name is a key in the given map of variables. *- Parameters:
name- The name of the variable- Returns:
- this $
ProcessInstanceAssert
-
hasVariableWithValue
-