/** * Testing Utilities::preparePath() * * @return null */ public function testPreparePath() { $oUtils = new Utilities(); $this->assertEquals("c:/www/oxid", $oUtils->preparePath('c:\\www\\oxid\\')); $this->assertEquals("/htdocs/eshop", $oUtils->preparePath('/htdocs/eshop/')); $this->assertEquals("/o/x/i/d", $oUtils->preparePath('/o/x/i/d/')); }