/** * @test */ public function can_get_variable_success() { $mock = new PAGI\Client\Impl\MockedClientImpl($this->_properties); $mock->onGetVariable(true, 'value'); $this->assertEquals($mock->getVariable('whatever'), 'value'); }