@Before public void setup() throws Exception { module = new ZuoraModule(); module.setEndpoint("https://apisandbox.zuora.com/apps/services/a/32.0"); module.connect(System.getenv("zuoraUsername"), System.getenv("zuoraPassword")); for (ZObject z : module.find("select id from Account")) { module.delete(ZObjectType.Account, Arrays.asList(z.getId())); } }