public void testInvalidDialect() throws Exception {
final PackageDescr pkgDescr = new PackageDescr( "org.drools" );
final RuleDescr ruleDescr = new RuleDescr( "Test Rule" );
ruleDescr.addAttribute( new AttributeDescr( "dialect", "mvl" ) );
ruleDescr.setConsequence( "" );
pkgDescr.addRule( ruleDescr );
final KnowledgeBuilderImpl kBuilder = new KnowledgeBuilderImpl();
kBuilder.addPackage(pkgDescr);
assertFalse(kBuilder.getErrors().toString(),