public function testSetApiKey() { $rtm = new Rtm(); $rtm->setApiKey('e245k63469bdfg8dfg034rwfsdf'); $this->assertEquals('e245k63469bdfg8dfg034rwfsdf', $rtm->getApiKey()); $rtm = new Rtm(array('apiKey' => 'e245k63469bdfg8dfg034rwfsdf')); $this->assertEquals('e245k63469bdfg8dfg034rwfsdf', $rtm->getApiKey()); }