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