public function testRightTrim() { $this->stringBuilder->trimRight('H!'); $this->assertEquals('Hello § World', $this->stringBuilder->__toString()); }