use of cern.laser.business.data.Alarm in project ACS by ACS-Community.
the class ReductionRuleTest method testSetTreshold.
public void testSetTreshold() {
Alarm alarm = new AlarmImpl();
ReductionRule rr = new ReductionRule(alarm);
rr.setThreshold(10);
int v = rr.getThreshold();
assertEquals(v, 10);
rr.setThreshold(2);
v = rr.getThreshold();
assertEquals(v, 2);
}
Aggregations