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
Exceptionpublic org.codehaus.jackson.JsonNode createAccount()
                                            throws Exception
Exceptionpublic void transfer(org.codehaus.jackson.JsonNode fromAccount,
                     org.codehaus.jackson.JsonNode toAccount,
                     int amount,
                     Boolean throwException)
              throws Exception
Exceptionpublic void assertNotFound(Integer id)
Copyright © 2003–2019 Atlassian. All rights reserved.