super.tearDown();
}
public void testBuildRuleBuildContextBaseDescr() {
// $total : Integer() from accumulate( Cheese( $price : price ) init( int x = 0; ) action( x += $price ) result( new Integer( x ) ) )
AccumulateDescr accumDescr = new DescrFactory().createAccumulate();
FieldBindingDescr price = new FieldBindingDescr( "price", "$price" );
PatternDescr cheeseDescr = new PatternDescr( "org.drools.Cheese" );
cheeseDescr.addConstraint( price );
accumDescr.setInputPattern( cheeseDescr );