public function testSaveConfig()
{
$config = 'a:10:{s:10:"profile_id";s:0:"";s:8:"username";s:0:"";s:8:"password";s:0:"";s:10:"show_stats";b:1;s:8:"language";s:2:"en";s:19:"data_ga_property_id";s:0:"";s:20:"data_track_clickback";s:0:"";s:21:"data_track_addressbar";s:0:"";s:11:"config_json";s:0:"";s:7:"widgets";a:0:{}}';
$this->configTable->shouldReceive('setValue')->once()->with('module_addthis', $config)->andReturn(true);
$this->assertTrue($this->object->saveConfig());
}