* This this case we will test errors that occur in rule assets, not in
* functions or package header.
*/
@Test
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",