assertFalse(ContentManager.getHandler( AssetFormats.ENUMERATION ).isRuleAsset());
}
public void testValidating() throws Exception {
RulesRepository repo = new RulesRepository( TestEnvironmentSessionHelper.getSession() );
PackageItem pkg = repo.loadDefaultPackage();
AssetItem asset = pkg.addAsset( "testValidatingEnum", "" );
asset.updateFormat( AssetFormats.ENUMERATION );
asset.updateContent( "'Person.age' : [1, 2, 3]" );
EnumerationContentHandler ch = new EnumerationContentHandler();