GcContent\Controller\MediaControllerTest::testIndexAction PHP Method

testIndexAction() public method

Test
public testIndexAction ( ) : void
return void
    public function testIndexAction()
    {
        $this->dispatch('/admin/content/media');
        $this->assertResponseStatusCode(200);
        $this->assertModuleName('GcContent');
        $this->assertControllerName('MediaController');
        $this->assertControllerClass('MediaController');
        $this->assertMatchedRouteName('content/media');
    }