public function testTtl() { $ttl = mt_rand(0, 99999999); $channel = new Channel(); $this->assertSame($channel, $channel->ttl($ttl)); $this->assertAttributeSame($ttl, 'ttl', $channel); }