public function BuilderTest::unshiftShouldThrowOnInvalidInput in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/stack/builder/tests/unit/Stack/BuilderTest.php \Stack\BuilderTest::unshiftShouldThrowOnInvalidInput()
@test
File
- vendor/
stack/ builder/ tests/ unit/ Stack/ BuilderTest.php, line 66
Class
- BuilderTest
- @covers Stack\Builder
Namespace
StackCode
public function unshiftShouldThrowOnInvalidInput() {
$this
->setExpectedException('InvalidArgumentException', 'Missing argument(s) when calling unshift');
$stack = new Builder();
$stack
->unshift();
}