Exemplo n.º 1
0
        public async Task FuckingAnywayShouldWork()
        {
            var res = await _foaasClient.Anyway("Microsoft", "Someone Else");

            Assert.IsNotNull(res);
            Assert.AreEqual("Who the f**k are you anyway, Microsoft, why are you stirring up so much trouble, and, who pays you?", res.Message);
            Assert.AreEqual("- Someone Else", res.Subtitle);
        }
        public async Task FuckingAnywayWorks()
        {
            var response = await _client.Anyway(testData.Company, testData.From);

            Assert.NotNull(response);
            Assert.Equal($@"Who the f**k are you anyway, {testData.Company}, why are you stirring up so much trouble, and, who pays you?"
                         , response.Message);
            Assert.Equal($@"- {testData.From}"
                         , response.Subtitle);
        }