コード例 #1
0
 /**
  * @testdox      Can be constructed in all possible states
  * @dataProvider provideTemplateTestAttributes
  * @covers ::__invoke
  *
  * @param string $attribute the mode to set
  * @param string $value
  */
 public function testCopyTemplateAttributes($attribute, $value)
 {
     $this->snapShot->__invoke(array('templateValues' => array($attribute => $value)));
     $this->assertEquals($value, $this->snapShot->templateValues[$attribute]);
 }