public function testAddWidgetActionWithInvalidPostData()
{
$postData = array('widget-add' => array('name' => '', 'identifier' => '', 'settings' => '', 'custom_string' => '', 'chosen_list' => ''));
$this->dispatch('/admin/module/social/addthis/add-widget', 'POST', $postData);
$this->assertResponseStatusCode(200);
$this->assertModuleName('Social');
$this->assertControllerName('AddThisController');
$this->assertControllerClass('AddThisController');
$this->assertMatchedRouteName('module/social/addthis/add-widget');
}