/** * @dataProvider providerForFormat */ public function testFormatShouldReplacePlaceholdersProperly($template, $result, $vars) { $this->assertEquals( $result, ValidationException::format($template, $vars) ); }
/** * @dataProvider providerForFormat */ public function test_format_should_replace_placeholders_properly($template, $result, $vars) { $this->assertEquals($result, ValidationException::format($template, $vars)); }