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