Example #1
0
        public async Task FuckingDeraadtShouldWork()
        {
            var res = await _foaasClient.Deraadt("Frank", "Me");

            Assert.IsNotNull(res);
            Assert.AreEqual("Frank you are being the usual slimy hypocritical asshole... You may have had value ten years ago, but people will see that you don't anymore.", res.Message);
            Assert.AreEqual("- Me", res.Subtitle);
        }
        public async Task FuckingDeraadtWorks()
        {
            var response = await _client.Deraadt(testData.Name, testData.From);

            Assert.NotNull(response);
            Assert.Equal($@"{testData.Name} you are being the usual slimy hypocritical asshole... You may have had value ten years ago, but people will see that you don't anymore."
                         , response.Message);
            Assert.Equal($@"- {testData.From}"
                         , response.Subtitle);
        }