<?php/* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */namespaceSymfony\Component\Console\Tests\Helper;usePHPUnit\Framework\TestCase;useSymfony\Component\Console\Helper\TableStyle;classTableStyleTestextendsTestCase{publicfunctiontestSetPadTypeWithInvalidType(){$this->expectException('InvalidArgumentException');$this->expectExceptionMessage('Invalid padding type. Expected one of (STR_PAD_LEFT, STR_PAD_RIGHT, STR_PAD_BOTH).');$style=newTableStyle();$style->setPadType('TEST');}}