|
@@ 83-91 (lines=9) @@
|
| 80 |
|
$this->assertEquals("example.com:8080", $this->builder->build()); |
| 81 |
|
} |
| 82 |
|
|
| 83 |
|
public function testSchemeHostAndPort() |
| 84 |
|
{ |
| 85 |
|
$this->builder->setUser(null) |
| 86 |
|
->setPassword(null) |
| 87 |
|
->setPath(null) |
| 88 |
|
->setParameters(array()) |
| 89 |
|
->setFragment(null); |
| 90 |
|
$this->assertEquals("http://example.com:8080", $this->builder->build()); |
| 91 |
|
} |
| 92 |
|
|
| 93 |
|
public function testSchemeHostPortAndPath() |
| 94 |
|
{ |
|
@@ 93-100 (lines=8) @@
|
| 90 |
|
$this->assertEquals("http://example.com:8080", $this->builder->build()); |
| 91 |
|
} |
| 92 |
|
|
| 93 |
|
public function testSchemeHostPortAndPath() |
| 94 |
|
{ |
| 95 |
|
$this->builder->setUser(null) |
| 96 |
|
->setPassword(null) |
| 97 |
|
->setParameters(array()) |
| 98 |
|
->setFragment(null); |
| 99 |
|
$this->assertEquals("http://example.com:8080/some/wild/path", $this->builder->build()); |
| 100 |
|
} |
| 101 |
|
|
| 102 |
|
public function testSchemeHostPortPathAndQuery() |
| 103 |
|
{ |
|
@@ 102-108 (lines=7) @@
|
| 99 |
|
$this->assertEquals("http://example.com:8080/some/wild/path", $this->builder->build()); |
| 100 |
|
} |
| 101 |
|
|
| 102 |
|
public function testSchemeHostPortPathAndQuery() |
| 103 |
|
{ |
| 104 |
|
$this->builder->setUser(null) |
| 105 |
|
->setPassword(null) |
| 106 |
|
->setFragment(null); |
| 107 |
|
$this->assertEquals("http://example.com:8080/some/wild/path?sale=true&columns=4", $this->builder->build()); |
| 108 |
|
} |
| 109 |
|
|
| 110 |
|
public function testSchemeHostPortPathQueryAndFragment() |
| 111 |
|
{ |