Add extended state variable change into test plan

- Add missing test method for testing variable change events.
- This may also contribute to make tests more reliable when
  testing variable values.
- Should contribute to #76 also.
This commit is contained in:
Janne Valkealahti
2015-08-14 09:33:54 +01:00
parent dea718c13d
commit f12b94e548
4 changed files with 62 additions and 4 deletions

View File

@@ -374,6 +374,7 @@ public class ZookeeperStateMachineTests extends AbstractZookeeperTests {
.step()
.sendEvent(message, machine1)
.expectTransition(1)
.expectExtendedStateChanged(1)
.expectVariable("testVariable", "x1")
.and()
.build();