/**
* @test
* @dataProvider parseExamples
*/
public function parseWorks($string, $format, $expected)
{
$helper = new DateHelper();
$result = $helper->parse($string, $format);
$this->assertInstanceOf(\DateTime::class, $result);
$this->assertEquals((double) $expected->format('U'), (double) $result->format('U'), 'Timestamps should match', 60);
}