print "As: " . $testuser . "\n";
    }
    $testatomstatement = $testsac->retrieveAtomStatement($statement_atom, $testuser, $testpw, $testobo);
    if ($testatomstatement->sac_status >= 200 || $testatomstatement->sac_status < 300) {
        $testatomstatement->toString();
    }
    print "\n\n";
}
if (false) {
    print "About to request OAI-ORE serialisation of the deposit statement from " . $statement_ore . "\n";
    if (empty($testuser)) {
        print "As: anonymous\n";
    } else {
        print "As: " . $testuser . "\n";
    }
    $testoaiore = $testsac->retrieveOAIOREStatement($statement_ore, $testuser, $testpw, $testobo);
    echo $testoaiore;
    print "\n\n";
}
if (false) {
    print "About to retrieve content from " . $edit_media . "\n";
    if (empty($testuser)) {
        print "As: anonymous\n";
    } else {
        print "As: " . $testuser . "\n";
    }
    $testresp = $testsac->retrieveContent($edit_media, $testuser, $testpw, $testobo, "http://purl.org/net/sword/package/SimpleZip");
    // file_put_contents("temp-save.zip", $testresp);
    print "\n\n";
}
if (false) {