public class AOTestHelper extends Object
Constructor and Description |
---|
AOTestHelper(com.sun.jersey.api.client.WebResource webresource) |
Modifier and Type | Method and Description |
---|---|
void |
assertAccountsUnchanged(org.codehaus.jackson.JsonNode... accounts) |
void |
assertNotFound(Integer id) |
org.codehaus.jackson.JsonNode |
createAccount() |
void |
deleteAccount(int... ids) |
String |
fetchAccount(int id) |
void |
transfer(org.codehaus.jackson.JsonNode fromAccount,
org.codehaus.jackson.JsonNode toAccount,
int amount,
Boolean throwException) |
public AOTestHelper(com.sun.jersey.api.client.WebResource webresource)
public String fetchAccount(int id)
public void assertAccountsUnchanged(org.codehaus.jackson.JsonNode... accounts) throws Exception
Exception
public org.codehaus.jackson.JsonNode createAccount() throws Exception
Exception
public void transfer(org.codehaus.jackson.JsonNode fromAccount, org.codehaus.jackson.JsonNode toAccount, int amount, Boolean throwException) throws Exception
Exception
public void assertNotFound(Integer id)
Copyright © 2003–2017 Atlassian. All rights reserved.