AuthRulesTest::testCanRequestEventDeletion_ModuleDisallows PHP Метод

testCanRequestEventDeletion_ModuleDisallows() публичный Метод

    public function testCanRequestEventDeletion_ModuleDisallows()
    {
        $event = $this->getEvent();
        $event->expects($this->any())->method('showDeleteIcon')->will($this->returnValue(false));
        $this->assertFalse($this->rules->canRequestEventDeletion($this->getNormalFirm(), $event));
    }
AuthRulesTest