Created
January 25, 2011 21:08
-
-
Save grumpydev/795664 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
[Fact] | |
public void Should_support_implicit_casting_of_properties_to_guids_in_method_params() | |
{ | |
dynamic parameters = new DynamicDictionary(); | |
var guid = Guid.NewGuid(); | |
parameters["test"] = guid; | |
Guid value = this.GetGuid(parameters["test"]); | |
value.ShouldEqual(guid); | |
} | |
private Guid GetGuid(Guid input) | |
{ | |
return input; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment