protected function setUp() { $this->configTable = Mockery::mock('Gc\\Core\\Config'); $this->configTable->shouldReceive('getValue')->with('module_addthis')->andReturn(serialize(array())); $this->object = new AddThis($this->configTable); }