function test_getId_withSlashes () { $err = new ErrorObject("Campsite", "1.5", 2, "", "/nondir/nonfile.php", 3, $this->vars->time, $this->vars->backtrace ); $errId = $err->getId(); $this->assertEqual($errId, "2:Campsite:1.5:nonfile.php:3"); }