/**
* @covers eZ\Bundle\EzPublishCoreBundle\SignalSlot\Slot\SymfonyEventConverterSlot::__construct
* @covers eZ\Bundle\EzPublishCoreBundle\SignalSlot\Slot\SymfonyEventConverterSlot::receive
*/
public function testReceive()
{
$eventDispatcher = $this->getMock('Symfony\\Component\\EventDispatcher\\EventDispatcherInterface');
$eventDispatcher->expects($this->once())->method('dispatch')->with(MVCEvents::API_SIGNAL, $this->isInstanceOf('eZ\\Publish\\Core\\MVC\\Symfony\\Event\\SignalEvent'));
$slot = new SymfonyEventConverterSlot($eventDispatcher);
$slot->receive($this->getMock('eZ\\Publish\\Core\\SignalSlot\\Signal'));
}