/** * @return boolean */ public function isModified() { return $this->original->getContents() !== $this->modified->getContents(); }
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(); }