ActivityLog\Controller\IndexControllerTest::testRemoveEventAction PHP Метод

testRemoveEventAction() публичный метод

Test
public testRemoveEventAction ( ) : void
Результат void
    public function testRemoveEventAction()
    {
        $model = Model::fromArray(array('content' => '', 'template_id' => 1));
        $model->save();
        $this->dispatch('/admin/module/activity-log/remove-event/' . $model->getId());
        $this->assertResponseStatusCode(200);
        $this->assertModuleName('ActivityLog');
        $this->assertControllerName('ActivityLogController');
        $this->assertControllerClass('IndexController');
        $this->assertMatchedRouteName('module/activity-log/remove-event');
    }