/** * @test */ public function shouldRemoveDoubleSlashes() { //given $path = '//dir/file.txt'; //when $normalized = Path::normalize($path); //then $this->assertEquals("/dir/file.txt", $normalized); }