GcContent\Controller\MediaControllerTest::testRemoveActionWithWrongMethod PHP Method

testRemoveActionWithWrongMethod() public method

Test
    public function testRemoveActionWithWrongMethod()
    {
        $this->dispatch('/admin/content/media/remove/document/1/property/2/file/', 'POST', array());
        $this->assertResponseStatusCode(200);
        $this->assertModuleName('GcContent');
        $this->assertControllerName('MediaController');
        $this->assertControllerClass('MediaController');
        $this->assertMatchedRouteName('content/media/remove');
    }