@Test
public void testCondition_fail() throws RuleException {

    try {
        Assert.condition(false, "must fail");
        fail("RuleException expected");
    } catch (RuleException expected) {
        assertEquals("Expected condition 'must fail' to be satisfied.", expected.getMessage());
    }
}