@Test
public void annotatedRulesAndNonAnnotatedRulesShouldBeUsableTogether() throws Exception {

    // Given
    when(rule1.evaluate(facts)).thenReturn(true);
    rules.register(rule1);
    rules.register(annotatedRule);
    // When
    rulesEngine.fire(rules, facts);
    // Then
    verify(rule1).execute(facts);
    assertThat(annotatedRule.isExecuted()).isTrue();
}