You are here

class TableStyleTest 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

Hierarchy

  • class \Symfony\Component\Console\Tests\Helper\TableStyleTest extends \Symfony\Component\Console\Tests\Helper\PHPUnit_Framework_TestCase

Expanded class hierarchy of TableStyleTest

File

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

Namespace

Symfony\Component\Console\Tests\Helper
View source
class TableStyleTest extends \PHPUnit_Framework_TestCase {

  /**
   * @expectedException        \InvalidArgumentException
   * @expectedExceptionMessage Invalid padding type. Expected one of (STR_PAD_LEFT, STR_PAD_RIGHT, STR_PAD_BOTH).
   */
  public function testSetPadTypeWithInvalidType() {
    $style = new TableStyle();
    $style
      ->setPadType('TEST');
  }

}

Members

Namesort descending Modifiers Type Description Overrides
TableStyleTest::testSetPadTypeWithInvalidType public function @expectedException \InvalidArgumentException @expectedExceptionMessage Invalid padding type. Expected one of (STR_PAD_LEFT, STR_PAD_RIGHT, STR_PAD_BOTH).