public function testGetBlockSelectorWithModificator()
 {
     $this->_annotation->block = 'block-name';
     $this->_annotation->modificator = array('modificator-name' => 'modificator-value');
     $this->_locatorHelper->shouldReceive('getBlockLocator')->with('block-name', 'modificator-name', 'modificator-value')->once()->andReturn('OK');
     $this->assertEquals('OK', $this->_annotation->getSelector($this->_locatorHelper));
 }
 public function testGetElementLocator()
 {
     $this->_locatorHelper->shouldReceive('getElementLocator')->with('element-name', 'block-name', 'modificator-name', 'modificator-value')->once()->andReturn('OK');
     $this->assertEquals('OK', $this->locator->getElementLocator('element-name', 'block-name', 'modificator-name', 'modificator-value'));
 }