NullCheck.sctunit 213 B

123456789101112
  1. testclass NullCheck for statechart NullCheck {
  2. @Test
  3. operation SimpleNullCheckTest(){
  4. enter
  5. assert active(NullCheck.main_region.A)
  6. proceed 1 cycle
  7. assert active(NullCheck.main_region.B)
  8. }
  9. }