@SuppressWarnings("unused")
String uuid = repositoryPackageService.createPackage( "testCreateArchivedPackage",
"this is a new package" );
RepositoryAssetService repositoryAssetService = getRepositoryAssetService();
PackageItem item = impl.getRulesRepository().loadPackage( "testCreateArchivedPackage" );
TableDataResult td = repositoryAssetService.loadArchivedAssets( 0,
1000 );
item.archiveItem( true );
TableDataResult td2 = repositoryAssetService.loadArchivedAssets( 0,
1000 );
assertEquals( td2.data.length,
td.data.length );
PackageConfigData[] arch2 = repositoryPackageService.listArchivedPackages();