public function testApiGetChannel_ReturnsChannel_WhenChannelIsSet() { $object = $this->createChannelAwareObject(); $channel = $this->createChannel(); $object->setChannel($channel); $this->assertSame($channel, $object->getChannel()); }