public function testCreateRequiresUsername() { $this->setExpectedException('RuntimeException'); $account = new Account(); $account->setPassword('notarealpassword')->setCompanyName('Dyn')->setPhone('603-123-1234'); $result = $this->accounts->create($account); }