com.atlassian.confluence.activeobjects
Class AOTestHelper
java.lang.Object
com.atlassian.confluence.activeobjects.AOTestHelper
public class AOTestHelper
- extends Object
Constructor Summary |
AOTestHelper(com.sun.jersey.api.client.WebResource webresource)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AOTestHelper
public AOTestHelper(com.sun.jersey.api.client.WebResource webresource)
fetchAccount
public String fetchAccount(int id)
assertAccountsUnchanged
public void assertAccountsUnchanged(JSONObject... accounts)
throws Exception
- Throws:
Exception
createAccount
public JSONObject createAccount()
throws Exception
- Throws:
Exception
deleteAccount
public void deleteAccount(int... ids)
throws Exception
- Throws:
Exception
transfer
public void transfer(JSONObject fromAccount,
JSONObject toAccount,
int amount,
Boolean throwException)
throws Exception
- Throws:
Exception
assertNotFound
public void assertNotFound(Integer id)
Copyright © 2003-2013 Atlassian. All Rights Reserved.