public function StackTest::testPop in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/phpunit/phpunit/tests/_files/StackTest.php \StackTest::testPop()
@depends testPush
File
- vendor/
phpunit/ phpunit/ tests/ _files/ StackTest.php, line 19
Class
Code
public function testPop(array $stack) {
$this
->assertEquals('foo', array_pop($stack));
$this
->assertEquals(0, count($stack));
}