public function testIndexOfIgnoreCase() { $str = new Str("Hello, world."); $this->assertEquals($str->indexOfIgnoreCase("h"), 0); $this->assertEquals($str->indexOfIgnoreCase("D"), 11); $this->assertEquals($str->indexOfIgnoreCase("x"), -1); }