InternalRule irule = new InternalRule(); plan.addRule(irule); assertNull(irule.getAutoAttendant());
AttendantRule arule = new AttendantRule(); plan.addRule(arule); assertNull(arule.getAfterHoursAttendant().getAttendant());
    public void testSetOperator() {        DialPlan plan = new DialPlan();        InternalRule irule = new InternalRule();        plan.addRule(irule);        assertNull(irule.getAutoAttendant());        AutoAttendant operator = new AutoAttendant();        plan.setOperator(operator);        assertSame(operator, irule.getAutoAttendant());    }