/** * The the creation of the find-command * * @param \stdClass $oFixture * @param string $sExpected * * @dataProvider getFindCommandProvider */ public function testGetFindCommand(\stdClass $oFixture, $sExpected) { $oProject = new \Testy\Project('test'); $oProject->config($oFixture); $iTime = time(); $sReturn = $oProject->getFindCommand($oFixture->path, $iTime); $this->assertEquals(sprintf($sExpected, date($oProject::FIND_DATE_FORMAT, $iTime)), $sReturn); unset($oProject); }