public function testEmitSignalSingleSlot()
{
$signal = $this->getMock('\\eZ\\Publish\\Core\\SignalSlot\\Signal');
$slot = $this->getMock('\\eZ\\Publish\\Core\\SignalSlot\\Slot');
$slot->expects($this->once())->method('receive')->with($signal);
$dispatcher = new SignalSlot\SignalDispatcher\DefaultSignalDispatcher();
$dispatcher->attach('\\' . get_class($signal), $slot);
$dispatcher->emit($signal);
}