static function getThisData() { return static::$thisData ?: (static::$thisData = ThisData::create(static::getKey())); }
public function testCreate() { $client = ThisData::create(self::API_KEY); $this->assertInstanceOf(ThisData::class, $client); }