public function test_parse_url()
 {
     $this->assertEquals('apple.com', Shortcode::parse_url('//apple.com/foo', PHP_URL_HOST));
     $this->assertEquals('/foo', Shortcode::parse_url('//apple.com/foo', PHP_URL_PATH));
     $this->assertEquals(array('host' => 'apple.com', 'path' => '/foo'), Shortcode::parse_url('//apple.com/foo'));
 }