public function testNonExistingMethod() { $this->setExpectedException('\\BadMethodCallException', 'Method "nonExistingMethod" does not exist on ' . get_class($this->browser) . ' class'); $this->browser->nonExistingMethod(); }
public function testNonExistingMethod() { $this->setExpectedException('\\BadMethodCallException', 'Method "nonExistingMethod" does not exist on ' . get_class($this->browser) . ' class'); $this->browser->nonExistingMethod(); }