public void test_RateRule_L1() { RateRule r = new RateRule(1, 2); assertEquals(false, (r.hasRequiredAttributes())); r.setVariable("r"); assertEquals(false, (r.hasRequiredAttributes())); r.setFormula("r"); assertEquals(true, r.hasRequiredAttributes()); r = null; }