public function rawUrlEncodeWorks() { $helper = new StringHelper(); $result = $helper->rawUrlEncode('&foo|bar'); $this->assertSame('%26foo%7Cbar', $result); }