public function testIsEscapingUrl() { $string = new String('Lorem! Ipsum! $dolor'); $result = $string->escapeUrl(); $this->assertInstanceOf('Simple\\Type\\String', $result); $this->assertEquals('Lorem%21+Ipsum%21+%24dolor', $result->toString()); }