Last active
September 16, 2019 07:16
-
-
Save daydos/9eb2155a086d7cd752d9091b0f972837 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[TestCase("https://www.example.com/#/dashboard", "https://www.example.com/#/dashboard")] | |
[TestCase("https://www.example.com/#/reports?id=1&page=1", "https://www.example.com/#/reports?id=1&page=1")] | |
public void Should_parse_query_parameters_from_URLs_with_hash_based_routing(string uri, string expected) | |
{ | |
var uriManager = new UriManager(uri); | |
var actual = uriManager.Uri.AbsoluteUri; | |
actual.Should().Be(expected); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment