Example #1
0
        public async Task FuckingDaltonShouldWork()
        {
            var res = await _foaasClient.Dalton("You", "Me");

            Assert.IsNotNull(res);
            Assert.AreEqual("You: A f*****g problem solving super-hero.", res.Message);
            Assert.AreEqual("- Me", res.Subtitle);
        }
        public async Task FuckingDaltonWorks()
        {
            var response = await _client.Dalton(testData.Name, testData.From);

            Assert.NotNull(response);
            Assert.Equal($@"{testData.Name}: A f*****g problem solving super-hero."
                         , response.Message);
            Assert.Equal($@"- {testData.From}"
                         , response.Subtitle);
        }