public void TestWS()
        {
            WebRequest request = WebRequest.Create("http://localhost:62949/NBA.asmx");

            request.Method = "GET";
            WebResponse response = request.GetResponse();

            NbaService.NBASoapClient client = new NbaService.NBASoapClient();
            var list = client.GetPlayerData("PF");

            Assert.AreEqual(list.Count(), 2);
        }
        public void TestWS2()
        {
            WebRequest request = WebRequest.Create("http://localhost:62949/NBA.asmx");

            request.Method = "GET";
            WebResponse response = request.GetResponse();

            NbaService.NBASoapClient client = new NbaService.NBASoapClient();
            var list = client.GetPlayerDatajson(1);

            var serializer = new JavaScriptSerializer();

            dynamic           data  = serializer.Deserialize <object>(list);
            List <playerData> data2 = (List <playerData>)serializer.Deserialize(list, typeof(List <playerData>));
        }