@Test
public void whenConditionIsFalse_thenActionShouldNotBeExecuted() throws Exception {

    // Given
    when(rule1.evaluate(facts)).thenReturn(false);
    rules.register(rule1);
    // When
    rulesEngine.fire(rules, facts);
    // Then
    verify(rule1, never()).execute(facts);
}