/
dimamir
/
Wsdl_PackageGenerator
Обзор
Документация
Войти
/
dimamir
/
Wsdl_PackageGenerator
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
develop
tests/ConfigurationReader/StructArrayReservedMethodTest.php
280 строк
7 KB
Mikaël DELSOL
Add SonarCloud properties, add Sonar Github Workflow
10 фев 2023, 01:00
Не верифицирован
10 фев 2023, 01:00
9c7e6ca
Код
Авторство
О чём код?
<?php declare(strict_types=1); namespace WsdlToPhp\PackageGenerator\Tests\ConfigurationReader; use WsdlToPhp\PackageGenerator\ConfigurationReader\StructArrayReservedMethod; use WsdlToPhp\PackageGenerator\Tests\AbstractTestCase; /** * @internal * @coversDefaultClass */ final class StructArrayReservedMethodTest extends AbstractTestCase { public static function instance(): StructArrayReservedMethod { return StructArrayReservedMethod::instance(__DIR__.'/../resources/struct_array_reserved_keywords.yml'); } public function testIsClassUpper(): void { $this->assertFalse(self::instance()->is('__CLASS__')); } public function testIsClassLower(): void { $this->assertFalse(self::instance()->is('__class__')); } public function testIsConstruct(): void { $this->assertFalse(self::instance()->is('__construct')); } public function testIsgetSoapClient(): void { $this->assertFalse(self::instance()->is('getSoapClient')); } public function testIssetSoapClient(): void { $this->assertFalse(self::instance()->is('setSoapClient')); } public function testIsinitSoapClient(): void { $this->assertFalse(self::instance()->is('initSoapClient')); } public function testIsgetSoapClientClassName(): void { $this->assertFalse(self::instance()->is('getSoapClientClassName')); } public function testIsgetDefaultWsdlOptions(): void { $this->assertFalse(self::instance()->is('getDefaultWsdlOptions')); } public function testIssetLocation(): void { $this->assertFalse(self::instance()->is('setLocation')); } public function testIsgetLastRequest(): void { $this->assertFalse(self::instance()->is('getLastRequest')); } public function testIsgetLastResponse(): void { $this->assertFalse(self::instance()->is('getLastResponse')); } public function testIsgetLastXml(): void { $this->assertFalse(self::instance()->is('getLastXml')); } public function testIsgetLastRequestHeaders(): void { $this->assertFalse(self::instance()->is('getLastRequestHeaders')); } public function testIsgetLastResponseHeaders(): void { $this->assertFalse(self::instance()->is('getLastResponseHeaders')); } public function testIsgetLastHeaders(): void { $this->assertFalse(self::instance()->is('getLastHeaders')); } public function testIsgetFormattedXml(): void { $this->assertFalse(self::instance()->is('getFormattedXml')); } public function testIsconvertStringHeadersToArray(): void { $this->assertFalse(self::instance()->is('convertStringHeadersToArray')); } public function testIssetSoapHeader(): void { $this->assertFalse(self::instance()->is('setSoapHeader')); } public function testIssetHttpHeader(): void { $this->assertFalse(self::instance()->is('setHttpHeader')); } public function testIsgetLastError(): void { $this->assertFalse(self::instance()->is('getLastError')); } public function testIssetLastError(): void { $this->assertFalse(self::instance()->is('setLastError')); } public function testIssaveLastError(): void { $this->assertFalse(self::instance()->is('saveLastError')); } public function testIsgetLastErrorForMethod(): void { $this->assertFalse(self::instance()->is('getLastErrorForMethod')); } public function testIsgetResult(): void { $this->assertFalse(self::instance()->is('getResult')); } public function testIssetResult(): void { $this->assertFalse(self::instance()->is('setResult')); } public function testIsSet(): void { $this->assertTrue(self::instance()->is('_set')); } public function testIsGet(): void { $this->assertTrue(self::instance()->is('_get')); } public function testIsgetAttributeName(): void { $this->assertTrue(self::instance()->is('getAttributeName')); } public function testIslength(): void { $this->assertTrue(self::instance()->is('length')); } public function testIscount(): void { $this->assertTrue(self::instance()->is('count')); } public function testIscurrent(): void { $this->assertTrue(self::instance()->is('current')); } public function testIsnext(): void { $this->assertTrue(self::instance()->is('next')); } public function testIsrewind(): void { $this->assertTrue(self::instance()->is('rewind')); } public function testIsvalid(): void { $this->assertTrue(self::instance()->is('valid')); } public function testIskey(): void { $this->assertTrue(self::instance()->is('key')); } public function testIsitem(): void { $this->assertTrue(self::instance()->is('item')); } public function testIsadd(): void { $this->assertTrue(self::instance()->is('add')); } public function testIsfirst(): void { $this->assertTrue(self::instance()->is('first')); } public function testIslast(): void { $this->assertTrue(self::instance()->is('last')); } public function testIsoffsetExists(): void { $this->assertTrue(self::instance()->is('offsetExists')); } public function testIsoffsetGet(): void { $this->assertTrue(self::instance()->is('offsetGet')); } public function testIsoffsetSet(): void { $this->assertTrue(self::instance()->is('offsetSet')); } public function testIsoffsetUnset(): void { $this->assertTrue(self::instance()->is('offsetUnset')); } public function testIsgetInternArray(): void { $this->assertTrue(self::instance()->is('getInternArray')); } public function testIssetInternArray(): void { $this->assertTrue(self::instance()->is('setInternArray')); } public function testIsgetInternArrayOffset(): void { $this->assertTrue(self::instance()->is('getInternArrayOffset')); } public function testIsinitInternArray(): void { $this->assertTrue(self::instance()->is('initInternArray')); } public function testIssetInternArrayOffset(): void { $this->assertTrue(self::instance()->is('setInternArrayOffset')); } public function testIsgetInternArrayIsArray(): void { $this->assertTrue(self::instance()->is('getInternArrayIsArray')); } public function testIssetInternArrayIsArray(): void { $this->assertTrue(self::instance()->is('setInternArrayIsArray')); } public function testUppercasePHPReservedKeyword(): void { $this->assertFalse(self::instance()->is('Do')); } public function testUppercaseIsoffsetGet(): void { $this->assertTrue(self::instance()->is('OffsetGet')); } }