private function insertAtLineNumber(LineNumber $lineNumber, array $lines) { $this->modified->insert($lineNumber, $lines); $this->lineTracker->addLines($this->calculateInsertRange($lineNumber, $lines)); }
public function it_is_modified_if_contents_of_buffers_do_not_match() { $this->original->getContents()->willReturn(array('a')); $this->modified->getContents()->willReturn(array('b')); $this->shouldBeModified(); }