public function testApiSetChannel_RemovesChannel_WhenNullPassed()
{
$object = $this->createChannelAwareObject();
$channel = $this->createChannel();
$object->setChannel($channel);
$this->assertSame($channel, $this->getProtectedProperty($object, 'channel'));
$object->setChannel(null);
$this->assertSame(null, $this->getProtectedProperty($object, 'channel'));
}