public function testCreateActionWithPostData() { $this->dispatch('/admin/content/translation/create', 'POST', array('source' => 'test', 'destination' => array(1 => 'test', 2 => 'test2'), 'locale' => array(1 => 'fr_FR', 4 => 'fr_FR'))); $this->assertResponseStatusCode(302); $this->assertModuleName('GcContent'); $this->assertControllerName('TranslationController'); $this->assertControllerClass('TranslationController'); $this->assertMatchedRouteName('content/translation/create'); }