GcDevelopment\Controller\ViewControllerTest::testCreateActionWithPostData PHP Method

testCreateActionWithPostData() public method

Test
public testCreateActionWithPostData ( ) : void
return void
    public function testCreateActionWithPostData()
    {
        $this->dispatch('/admin/development/view/create', 'POST', array('name' => 'ViewName', 'identifier' => 'Identifier', 'description' => 'Description'));
        $this->assertResponseStatusCode(302);
        $this->assertModuleName('GcDevelopment');
        $this->assertControllerName('ViewController');
        $this->assertControllerClass('ViewController');
        $this->assertMatchedRouteName('development/view/create');
        ViewModel::fromIdentifier('Identifier')->delete();
    }