public function testSlashesTidedUp() { $path = __DIR__ . DIRECTORY_SEPARATOR . 'fixtures' . DIRECTORY_SEPARATOR . 'datastore' . DIRECTORY_SEPARATOR . 'writable'; $config = new Config($path . DIRECTORY_SEPARATOR); $this->assertSame($path, $config->getPath()); }