public function testIsShortening()
 {
     $string = new String('Lorem ipsum dolor sit amet nepet quisquam');
     $result = $string->shorten(10);
     $this->assertInstanceOf('Simple\\Type\\String', $result);
     $this->assertEquals('Lorem ipsu', $result->toString());
     $result = $string->shorten(10, true);
     $this->assertInstanceOf('Simple\\Type\\String', $result);
     $this->assertEquals('Lorem', $result->toString());
     $string = new String('Lorem ipsum Dolor');
     $result = $string->shorten(3, true);
     $this->assertInstanceOf('Simple\\Type\\String', $result);
     $this->assertEquals('', $result->toString());
     $string = new String('Lorem ipsum Dolor');
     $result = $string->shorten(6, true);
     $this->assertInstanceOf('Simple\\Type\\String', $result);
     $this->assertEquals('Lorem', $result->toString());
 }