protected function configureConfigMethods($userId, $licenseKey, $host) { $this->config->expects($this->once())->method('getUserId')->willReturn($userId); $this->config->expects($this->once())->method('getLicenseKey')->willReturn($licenseKey); $this->config->expects($this->once())->method('getHost')->willReturn($host); }