Beispiel #1
0
        public async Task FuckingBlackadderShouldWork()
        {
            var res = await _foaasClient.Blackadder("You", "Me");

            Assert.IsNotNull(res);
            Assert.AreEqual("You, your head is as empty as a eunuch’s underpants. F**k off!", res.Message);
            Assert.AreEqual("- Me", res.Subtitle);
        }
        public async Task FuckingBlackadderWorks()
        {
            var response = await _client.Blackadder(testData.Name, testData.From);

            Assert.NotNull(response);
            Assert.Equal($@"{testData.Name}, your head is as empty as a eunuch’s underpants. F**k off!"
                         , response.Message);
            Assert.Equal($@"- {testData.From}"
                         , response.Subtitle);
        }