You are here

public function TableStyleTest::testSetPadTypeWithInvalidType in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/console/Tests/Helper/TableStyleTest.php \Symfony\Component\Console\Tests\Helper\TableStyleTest::testSetPadTypeWithInvalidType()

@expectedException \InvalidArgumentException @expectedExceptionMessage Invalid padding type. Expected one of (STR_PAD_LEFT, STR_PAD_RIGHT, STR_PAD_BOTH).

File

vendor/symfony/console/Tests/Helper/TableStyleTest.php, line 22

Class

TableStyleTest

Namespace

Symfony\Component\Console\Tests\Helper

Code

public function testSetPadTypeWithInvalidType() {
  $style = new TableStyle();
  $style
    ->setPadType('TEST');
}