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