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