public void Generate_Return_Result_Test() { int batchId = 1; int totalNumberToGenerate = 2; Task result = GeneratorManagerUnderTest.Generate(batchId, totalNumberToGenerate); Assert.IsAssignableFrom <Task>(result); }