<?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{/** * @expectedException \InvalidArgumentException * @expectedExceptionMessage Invalid padding type. Expected one of (STR_PAD_LEFT, STR_PAD_RIGHT, STR_PAD_BOTH). */publicfunctiontestSetPadTypeWithInvalidType(){$style=newTableStyle();$style->setPadType('TEST');}}