public function testEditActionWithInvalidPostData() { $this->dispatch('/admin/content/document/edit/' . $this->document->getId(), 'POST', array()); $this->assertResponseStatusCode(200); $this->assertModuleName('GcContent'); $this->assertControllerName('DocumentController'); $this->assertControllerClass('DocumentController'); $this->assertMatchedRouteName('content/document/edit'); }