public function testContains() { $str = new Str("Hello, world."); $this->assertTrue($str->contains("Hello,")); $this->assertFalse($str->contains(" WORLD.")); }