Exemplo n.º 1
0
        public async Task ShouldReturnCurrentFizzBuzzValue()
        {
            var client = new FakeHttpClient();

            client.SetupGet("", new FizzBuzz(54));

            var model = await new FizzBuzz(client: client).GetCurrent();

            Assert.Equal(54, model.Value);
        }