public void testErrorsInRuleAsset() throws Exception {
ServiceImplementation serviceImplementation = getServiceImplementation();
RulesRepository repo = serviceImplementation.getRulesRepository();
//first, setup the package correctly:
PackageItem pkg = repo.createPackage("testErrorsInRuleAsset",
"");
AssetItem model = pkg.addAsset("model",
"qed");
model.updateFormat(AssetFormats.MODEL);
model.updateBinaryContentAttachment(this.getClass().getResourceAsStream("/billasurf.jar"));