org.javaswift.joss.command.mock.account.AccountMetadataCommandMock Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of joss Show documentation
Show all versions of joss Show documentation
OpenCADC Java Openstack Swift Storage JOSS (temporary fork)
The newest version!
package org.javaswift.joss.command.mock.account;
import java.util.Collection;
import org.apache.http.HttpStatus;
import org.javaswift.joss.command.impl.core.httpstatus.HttpStatusChecker;
import org.javaswift.joss.command.impl.core.httpstatus.HttpStatusMatch;
import org.javaswift.joss.command.impl.core.httpstatus.HttpStatusSuccessCondition;
import org.javaswift.joss.command.mock.core.CommandMock;
import org.javaswift.joss.command.shared.account.AccountMetadataCommand;
import org.javaswift.joss.headers.Header;
import org.javaswift.joss.model.Account;
import org.javaswift.joss.swift.Swift;
import org.javaswift.joss.swift.SwiftResult;
public class AccountMetadataCommandMock extends CommandMock implements AccountMetadataCommand {
private Collection headers;
public AccountMetadataCommandMock(Swift swift, Account account, Collection headers) {
super(swift, account);
this.headers = headers;
}
@Override
public SwiftResult