public async Task TestCase() { var myClass = new MyClass(); var result = await myClass.MyMethod(); Assert.NotNull(result); }