Exemplo n.º 1
0
 public function testCopy()
 {
     $dummy = Stub::copy($this->dummy, array('checkMe' => 'checked!'));
     $this->assertEquals('checked!', $dummy->getCheckMe());
     $dummy = Stub::copy($this->dummy, array('checkMeToo' => 'checked!'));
     $this->assertEquals('checked!', $dummy->getCheckMeToo());
 }