@Test
public void testCreateUsageTrigger() throws Exception {
setExpectedServerAnswer("createusagetriggerresponse.xml");
Account mainAccount = client.getAccount();
UsageTriggerFactory usageTriggerFactory = mainAccount.getUsageTriggerFactory();
HashMap<String, String> trigger = new HashMap<String, String>();
trigger.put("FriendlyName", "blah");
trigger.put("UsageCategory", "sms");
trigger.put("TriggerValue", "10");
trigger.put("CallbackUrl", "http://www.domain.net");
UsageTrigger usageTrigger = usageTriggerFactory.create(trigger);
assertEquals(usageTrigger.getFriendlyName(), "blah");
}