HandlerStack::create($mock)]); $service = new ApplicationInformationService($client, app(Cache::class), app(Logger::class)); self::assertEquals($latestVersion, $service->getLatestVersionNumber()); self::assertSame($latestVersion, cache('latestKoelVersion')); } }