"when " +
" String() @Outer( values = { @Inner( text = \"hello\" ), @Inner( text = \"world\" ) } ) " +
"then " +
"end ";
KieHelper helper = new KieHelper();
helper.addContent( drl, ResourceType.DRL );
assertEquals( 0, helper.verify().getMessages().size() );
Pattern p = ((Pattern) (( RuleImpl ) helper.build().getRule( "org.drools.test", "Foo" )).getLhs().getChildren().get( 0 ));
Map<String,AnnotationDefinition> defs = p.getAnnotations();
assertEquals( 1, defs.size() );