@Test public void testEstimateInvoiceName() throws ApiException { AvailLinodePlansResponse availLinodePlans = linodeApi.getAvailLinodePlans(); LinodePlan linodePlan = availLinodePlans.getLinodePlans().get(0); try { linodeApi.getAccountEstimateInvoice("linode_new"); } catch (ApiException ex) { } try { linodeApi.getAccountEstimateInvoice("linode_new", 1l, linodePlan.getPlanId(), null); } catch (ApiException ex) { assertTrue(true); } }
@Test public void testAccountInfo() throws ApiException { AccountInfoResponse accountInfo = linodeApi.getAccountInfo(); assertFalse(accountInfo.hasErrors()); }