public async Task ParseXmlWorkResponse()
        {
            var rnd = new Random();
            var port = (int)(rnd.NextDouble() * (short.MaxValue - 1024) + 1024);
            var uri = $"http://localhost:{port}/librarything/";

            using (var server = new FakeWebServer(new[] {uri}, SendResponse, "application/xml"))
            {
                server.Run();

                var client = new Client(ApiKey, uri);

                var response = await client.GetWorkById(1060);

                Assert.IsNotNull(response);
            }   
        }
        public async Task ParseXmlWorkResponse()
        {
            var rnd  = new Random();
            var port = (int)(rnd.NextDouble() * (short.MaxValue - 1024) + 1024);
            var uri  = $"http://localhost:{port}/librarything/";

            using (var server = new FakeWebServer(new[] { uri }, SendResponse, "application/xml"))
            {
                server.Run();

                var client = new Client(ApiKey, uri);

                var response = await client.GetWorkById(1060);

                Assert.IsNotNull(response);
            }
        }