/
dimamir
/
Wsdl_PackageGenerator
Обзор
Документация
Войти
/
dimamir
/
Wsdl_PackageGenerator
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
develop
tests/Generator/GeneratorSoapClientTest.php
30 строк
762 B
Mikaël DELSOL
issue #274 - Fix validation on scalar contained by array
20 фев 2023, 19:55
Не верифицирован
20 фев 2023, 19:55
a31d48e
Код
Авторство
О чём код?
<?php declare(strict_types=1); namespace WsdlToPhp\PackageGenerator\Tests\Generator; use WsdlToPhp\PackageGenerator\ConfigurationReader\GeneratorOptions; use WsdlToPhp\PackageGenerator\Generator\Generator; use WsdlToPhp\PackageGenerator\Tests\AbstractTestCase; /** * @internal * @coversDefaultClass */ class GeneratorSoapClientTest extends AbstractTestCase { public function testExceptionOnWsdl(): void { $options = GeneratorOptions::instance(); $options ->setComposerName('wsdltophp/invalid') ->setDestination(self::getTestDirectory()) ->setOrigin(self::schemaPartnerPath()) ; $this->expectException(\InvalidArgumentException::class); new Generator($options); } }