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