in1 = this.getClass().getResourceAsStream( "incrementalBuild.dtable.xls" );
kfs.write( "src/main/resources/incrementalBuild1.dtable.xls",
KieServices.Factory.get().getResources().newInputStreamResource( in1 ) );
//Expect no errors
KieBuilder kieBuilder = ks.newKieBuilder( kfs ).buildAll();
assertEquals( 0, kieBuilder.getResults().getMessages( org.kie.api.builder.Message.Level.ERROR ).size() );
//Add the same XLS decision table again as a different resource
in2 = this.getClass().getResourceAsStream( "incrementalBuild.dtable.xls" );
kfs.write( "src/main/resources/incrementalBuild2.dtable.xls",
KieServices.Factory.get().getResources().newInputStreamResource( in2 ) );