@Test
public void testPut() throws Exception {
//need to test both asset and .package shite.
RulesRepository repo = RepositorySessionUtil.getRepository();
ModuleItem pkg = repo.createModule("testRestPut", "", ModuleItem.MODULE_FORMAT);
pkg.updateStringProperty("This is some header", ModuleItem.HEADER_PROPERTY_NAME);
repo.save();
AssetItem asset1 = pkg.addAsset("asset1", "");
asset1.updateContent("this is content");
asset1.updateFormat("drl");