Created
June 26, 2014 17:50
-
-
Save james-dibble/0a7836064f8b3ae9de3e 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
[TestMethod] | |
public async Task TestGenericOperation | |
{ | |
var fakeThing = new StubIThingWithGeneric(); | |
fakeThing.GenericOperationAsyncOf1(() => new SomeOtherThing(); | |
var target = new TestTarget(fakeThing); | |
var actual = await target.DoSomething(); | |
Assert.IsNotNull(actual); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment