GcConfig\Controller\CmsControllerTest::testUpdateActionWithWrongAdapter PHP Method

testUpdateActionWithWrongAdapter() public method

Test
    public function testUpdateActionWithWrongAdapter()
    {
        $this->dispatch('/admin/config/update', 'POST', array('adapter' => 'fake'));
        $this->assertResponseStatusCode(302);
        $this->assertModuleName('GcConfig');
        $this->assertControllerName('CmsController');
        $this->assertControllerClass('CmsController');
        $this->assertMatchedRouteName('config/cms-update');
    }