final RuleBuildContext context = mock( RuleBuildContext.class );
final Rule rule = mock( Rule.class );
// creates input object
final RuleDescr ruleDescr = new RuleDescr( "my rule" );
ruleDescr.addAttribute( new AttributeDescr( "duration",
"( 1h30m )" ) );
ruleDescr.addAttribute( new AttributeDescr( "calendars",
"[\"cal1\", \"cal2\"]" ) );
// defining expectations on the mock object