Created
June 2, 2018 11:38
-
-
Save FraukeN/a4b6d252212aacfb7a5b68e2d2b1b552 to your computer and use it in GitHub Desktop.
OverviewVM null repository test
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
[Test] | |
public void creating_a_new_instance_of_OverviewVM_with_null_repository_throws_ArgumentNullException() | |
{ | |
// Assert | |
Assert.That(() => new OverviewVM(null), | |
Throws.Exception | |
.TypeOf<ArgumentNullException>() | |
.With.Property("ParamName") | |
.EqualTo("toDoRepo")); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment