/** * @test */ public function parseReferenceDateSubstractsTimeIntervalCorrectlyUsingMonthAndMinuteForcingYearSwap() { $testResult = $this->accessibleValidator->_call('parseReferenceDate', 'P4MT15M/2013-02-01T13:00:00Z'); $this->assertEquals('2012-10-01 12:45', $testResult->format('Y-m-d H:i')); }