* @throws Exception if any
*/
@Test
public void testSetChildrenTriggerOverridenFalse() throws Exception {
CascadingUtil.setChildrenTrigger(p1, descriptor, propertyKey, req, json);
CascadingUtil.getTriggerProjectProperty(p2, propertyKey).setValue(new TimerTrigger("*/2 * * * *"));
CascadingUtil.setChildrenTrigger(p1, descriptor, propertyKey, req, json);
assertTrue(CascadingUtil.getTriggerProjectProperty(p2, propertyKey).isOverridden());
CascadingUtil.getTriggerProjectProperty(p2, propertyKey).setValue(new TimerTrigger("* * * * *"));
CascadingUtil.setChildrenTrigger(p1, descriptor, propertyKey, req, json);
assertFalse(CascadingUtil.getTriggerProjectProperty(p2, propertyKey).isOverridden());
verifyAll();
}