public function setUp() { $this->context = new UiBusinessSelectorContext(array("urlFilePath" => "tests/testfiles/urls.yml", "selectorFilePath" => "tests/testfiles/selectors.yml", "assetPath" => "tests/testfiles/assets/")); $this->mink = $this->getMock('\\Behat\\Mink\\Mink', array(), array(), '', false, false); $this->context->setMink($this->mink); }