/** * @dataProvider provideAccord */ public function testCanAccordAStringToItsNumeral($number, $expect) { $result = Strings::accord($number, '%d things', 'one thing', 'nothing'); $this->assertEquals($expect, $result); }