/** * @dataProvider isEqualDataProvider * * @param AbstractPhone $first * @param mixed $second * @param bool $expectedResult */ public function testIsEqual(AbstractPhone $first, $second, $expectedResult) { $this->assertEquals($expectedResult, $first->isEqual($second)); }