4 * This file is part of the Symfony package.
6 * (c) Fabien Potencier <fabien@symfony.com>
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
12 namespace Symfony\Component\Console\Tests\Helper;
14 use PHPUnit\Framework\TestCase;
15 use Symfony\Component\Console\Helper\TableStyle;
17 class TableStyleTest extends TestCase
20 * @expectedException \InvalidArgumentException
21 * @expectedExceptionMessage Invalid padding type. Expected one of (STR_PAD_LEFT, STR_PAD_RIGHT, STR_PAD_BOTH).
23 public function testSetPadTypeWithInvalidType()
25 $style = new TableStyle();
26 $style->setPadType('TEST');