@Test
public void actionsMustBeExecutedInTheDefinedOrder() {

    // Given
    rules.register(annotatedRule);
    // When
    rulesEngine.fire(rules, facts);
    // Then
    assertEquals("012", annotatedRule.getActionSequence());
}