public function testTrim() { $str = new Str(" Hello "); $this->assertTrue($str->trim()->equals("Hello")); }