public function testSetSecret() { $rtm = new Rtm(); $rtm->setSecret('e245k63469bdfg8dfg034rwfsdf'); $this->assertEquals('e245k63469bdfg8dfg034rwfsdf', $rtm->getSecret()); $rtm = new Rtm(array('secret' => 'e245k63469bdfg8dfg034rwfsdf')); $this->assertEquals('e245k63469bdfg8dfg034rwfsdf', $rtm->getSecret()); }