GcDevelopment\Controller\DatatypeControllerTest::testEditActionWithWrongId PHP Méthode

testEditActionWithWrongId() public méthode

Test
public testEditActionWithWrongId ( ) : void
Résultat void
    public function testEditActionWithWrongId()
    {
        $this->dispatch('/admin/development/datatype/edit/9999');
        $this->assertResponseStatusCode(302);
        $this->assertModuleName('GcDevelopment');
        $this->assertControllerName('DatatypeController');
        $this->assertControllerClass('DatatypeController');
        $this->assertMatchedRouteName('development/datatype/edit');
    }