Created
July 3, 2013 19:29
-
-
Save DForshner/5921954 to your computer and use it in GitHub Desktop.
Gets the username of the account running the unit 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
[TestMethod] | |
public void Name_When_Expect() | |
{ | |
// Arrange | |
var userName = Environment.UserName; | |
// Act | |
// Assert | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment