Created
May 26, 2014 10:41
-
-
Save renestein/906d1b34051bfb904068 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
[TestMethod] | |
public async Task WithTaskFactory_When_One_Task_Is_Queued_Then_Task_is_Executed() | |
{ | |
bool wasTaskExecuted = false; | |
await TestTaskFactory.StartNew(() => wasTaskExecuted = true); | |
Assert.IsTrue(wasTaskExecuted); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment