// TODO Auto-generated method stub
return 0;
}
};
Frequency frequency = new Frequency("minutes(1)");
Assert.assertEquals(policy.getDurationInMilliSec(frequency), 60000);
frequency = new Frequency("minutes(15)");
Assert.assertEquals(policy.getDurationInMilliSec(frequency), 900000);
frequency = new Frequency("hours(2)");
Assert.assertEquals(policy.getDurationInMilliSec(frequency), 7200000);
}