GcDevelopment\Controller\DocumentTypeControllerTest::testDeletePropertyActionWithWrongId PHP Method

testDeletePropertyActionWithWrongId() public method

Test
    public function testDeletePropertyActionWithWrongId()
    {
        $session = new SessionContainer();
        $session->offsetSet('document-type', array('tabs' => array()));
        $this->dispatch('/admin/development/document-type/delete-property', 'POST', array('property' => 1));
        $this->dispatch('/admin/development/document-type/delete-property');
        $this->assertResponseStatusCode(200);
        $this->assertModuleName('GcDevelopment');
        $this->assertControllerName('DocumentTypeController');
        $this->assertControllerClass('DocumentTypeController');
        $this->assertMatchedRouteName('development/document-type/delete-property');
    }