* @license http://www.apache.org/licenses/LICENSE-2.0 * @package Tests\Repositories */ final class GenreRepositoryTest extends TestCase { /** * @throws \GuzzleHttp\Exception\GuzzleException * @throws \RuntimeException * @throws \Exception */ public function testGetAction(): void { $env = GetServiceEnvironment::get(); foreach (GenreRepository::create($env)->get() as $genre) { /** @var \EPGService\Entities\GenreEntity $genre */ self::assertNotEmpty($genre->id); self::assertNotEmpty($genre->lang); self::assertNotEmpty($genre->name); self::assertNotEmpty($genre->version); } } }