/**
  * Test case with data provider.
  *
  * @dataProvider dataProviderTwo
  */
 public function testDataProviderAllWillFail($x, $y)
 {
     $this->assertEquals(1, $this->math->sub($x, $y));
 }
Example #2
0
 /**
  * Successful test.
  */
 public function testSubSuccess()
 {
     $this->assertEquals(-2, $this->math->sub(1, 3));
 }