| Conditions | 1 |
| Total Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | package com.mmdemirbas.urlbuilder; |
||
| 13 | @Test |
||
| 14 | void fromSchemeAndHost() { |
||
| 15 | Assertions.assertEquals(URL, |
||
| 16 | UrlBuilder.from("http", "foo.com") |
||
| 17 | .addPath("with spaces") |
||
| 18 | .addPaths("path", "with", "varArgs") |
||
| 19 | .addPath("&=?/", pair("matrix", "param?")) |
||
| 20 | .setQuery(pair("fancy + name", "fancy?=value")) |
||
| 21 | .setFragment("#?=") |
||
| 22 | .toUrlString()); |
||
| 23 | } |
||
| 35 |