Created
July 21, 2012 13:01
-
-
Save hhariri/3155771 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
public class When_baseuri_is_null_and_query_is_null | |
{ | |
Establish context = () => | |
{ | |
uriComposer = new UriComposer(); | |
query = null; | |
baseUri = null; | |
}; | |
Because of = () => url = uriComposer.Compose(baseUri, query, uri); | |
It should_return_the_uri = () => url.ShouldEqual("uri"); | |
static UriComposer uriComposer; | |
static string url; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment