You are here

public function OutputFormatterStyleStackTest::testInvalidPop in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/console/Tests/Formatter/OutputFormatterStyleStackTest.php \Symfony\Component\Console\Tests\Formatter\OutputFormatterStyleStackTest::testInvalidPop()

@expectedException \InvalidArgumentException

File

vendor/symfony/console/Tests/Formatter/OutputFormatterStyleStackTest.php, line 64

Class

OutputFormatterStyleStackTest

Namespace

Symfony\Component\Console\Tests\Formatter

Code

public function testInvalidPop() {
  $stack = new OutputFormatterStyleStack();
  $stack
    ->push(new OutputFormatterStyle('white', 'black'));
  $stack
    ->pop(new OutputFormatterStyle('yellow', 'blue'));
}