eZ\Publish\Core\SignalSlot\Tests\SignalDispatcher\GeneralSlotFactoryTest::testInValidSlot PHP Method

testInValidSlot() public method

public testInValidSlot ( $slots )
    public function testInValidSlot($slots)
    {
        $factory = $this->setUpFactory($slots);
        foreach (array_keys($slots) as $slotIdentifier) {
            try {
                $factory->getSlot($slotIdentifier . '42');
                $this->fail('expected NotFoundException ');
            } catch (NotFoundException $e) {
            }
        }
    }