AuthRulesTest::testCanDeleteEvent_ModuleAllows PHP Метод

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

    public function testCanDeleteEvent_ModuleAllows()
    {
        $event = $this->getEvent(array('created_date' => '1999-12-31 23:59:59'));
        $event->expects($this->any())->method('moduleAllowsEditing')->will($this->returnValue(true));
        $this->assertTrue($this->rules->canDeleteEvent($this->getUser(), $this->getNormalFirm(), $event));
    }
AuthRulesTest