}
public void testScenariosAndChangeSet() throws Exception {
RulesRepository repo = new RulesRepository( TestEnvironmentSessionHelper.getSession( true ) );
ServiceImplementation impl = new ServiceImplementation();
impl.repository = repo;
repo.createPackage("testScenariosURL", "");
impl.createPackageSnapshot("testScenariosURL", "SNAP1", false, "");
Base64 enc = new Base64();
String userpassword = "test" + ":" + "password";
final String encodedAuthorization = enc.encodeToString( userpassword.getBytes() );