示例#1
0
        public async Task FuckingDiabetesShouldWork()
        {
            var res = await _foaasClient.Diabetes("Charley");

            Assert.IsNotNull(res);
            Assert.AreEqual("I'd love to stop and chat to you but I'd rather have type 2 diabetes.", res.Message);
            Assert.AreEqual("- Charley", res.Subtitle);
        }
        public async Task FuckingDiabetesMan()
        {
            var response = await _client.Diabetes(testData.From);

            Assert.NotNull(response);
            Assert.Equal($@"I'd love to stop and chat to you but I'd rather have type 2 diabetes."
                         , response.Message);
            Assert.Equal($@"- {testData.From}"
                         , response.Subtitle);
        }