示例#1
0
 /**
  * @dataProvider numbers
  */
 public function testAdditionWorksAsExpected($x, $y, $z)
 {
     $obj = new TestClass();
     $this->assertEquals($obj->add($x, $y), $z);
 }