}
@Test
public void testCompilationUndoAfterGoodResults() {
KnowledgeBuilder knowledgeBuilder = KnowledgeBuilderFactory.newKnowledgeBuilder();
knowledgeBuilder.add( new FileSystemResource( resources[ 1 ] ), ResourceType.DRL );
knowledgeBuilder.add( new FileSystemResource( resources[ 4 ] ), ResourceType.CHANGE_SET );
assertTrue( knowledgeBuilder.hasErrors() );
knowledgeBuilder.undo();