Jv, here's a list of issues in the code you provided: - it does not compile - even if you make it compile by assigning "await t" to a local variable, you are asserting that a Task is equal to a int? - even if you await on ob.TaskMethod() so that you get back an int? it still doesn't make much sense to compare those two values, and you should actually expect them to be different - the test will nonetheless pass because the two integers? will be always null as you are invoking Task.FromResult, which completes synchronously and therefore will have null Task.CurrentId Simone On Wed, Oct 3, 2012 at 11:07 AM, Jv