public function testSetValue() { $expected = 'new_val'; $node = new NodeElement('input_tag', $this->session); $this->driver->expects($this->once())->method('setValue')->with('input_tag', $expected); $node->setValue($expected); }
public function testSetValue() { $node = new NodeElement('input_tag', $this->session); $this->session->getDriver()->expects($this->once())->method('setValue')->with('input_tag', 'new_val'); $node->setValue('new_val'); }