static void TestSumTwoNumbersWithOMiau(ILazyCatService client) { var result = client.SumWithOMiauAuth(2, 5); result.ShouldBe(7); result = client.SumWithOMiauAuth(5, 3); result.ShouldBe(8); }
static async Task TestSumTwoNumbersWithOMiauAsync(ILazyCatService client) { var result = await client.SumWithOMiauAuthAsync(2, 5); result.ShouldBe(7); result = await client.SumWithOMiauAuthAsync(5, 3); result.ShouldBe(8); }