public void testArchiveAndUnarchivePackageAndHeader() throws Exception {
ServiceImplementation impl = getServiceImplementation();
RepositoryPackageService repositoryPackageService = getRepositoryPackageService();
String uuid = repositoryPackageService.createPackage( "testArchiveAndUnarchivePackageAndHeader",
"a desc" );
PackageConfigData data = repositoryPackageService.loadPackageConfig( uuid );
PackageItem it = impl.getRulesRepository().loadPackageByUUID( uuid );
data.archived = true;
AssetItem rule1 = it.addAsset( "rule_1",
"" );