GcConfig\Controller\RoleControllerTest::testCreateActionWithPostData PHP Method

testCreateActionWithPostData() public method

Test
public testCreateActionWithPostData ( ) : void
return void
    public function testCreateActionWithPostData()
    {
        $this->dispatch('/admin/config/user/role/create', 'POST', array('name' => 'RoleCreateTest', 'description' => 'Description'));
        $this->assertResponseStatusCode(302);
        $this->assertModuleName('GcConfig');
        $this->assertControllerName('RoleController');
        $this->assertControllerClass('RoleController');
        $this->assertMatchedRouteName('config/user/role/create');
    }