public function testWillRefuseInvalidPath() { $resolver = new PathStackResolver(); $this->setExpectedException(InvalidArgumentException::class); $resolver->addPath(null); }