/** * This test checks the Strng's trim() method. * * @return void */ public function testTrim() { // initialize a new Strng instance $string = new Strng(' Mustermann '); // check that Strng was trimmed successfully $this->assertTrue($string->trim()->equals(new Strng('Mustermann'))); }