when( context.getRuleDescr() ).thenReturn( ruleDescr );
when( context.getKnowledgeBuilder() ).thenReturn( new KnowledgeBuilderImpl() );
// calling the build method
RuleBuilder builder = new RuleBuilder();
builder.buildMetaAttributes( context );
// check expectations
verify( rule ).addMetaAttribute( "ruleId",
123 );
verify( rule ).addMetaAttribute( "author",