/** * Test the __toString method */ public function testToString() { $channel = new ChannelTwitch(); self::assertEquals('Twitch: ', (string) $channel); $channel->setChannelName('TwitchTest'); self::assertEquals('Twitch: TwitchTest', (string) $channel); }