Exemple #1
0
        public void GetPopularBoats()
        {
            RequestBoats req = new RequestBoats
            {
                Header = new Header
                {
                    Device         = (int)DeviceEnum.Device.WEB,
                    OperationTypes = (int)OperationType.OperationTypes.UPDATE,
                    RequestId      = Guid.NewGuid().ToString(),
                    ApiKey         = "U6l1hKzpZDrgfTaKxpQm3A/6raDiroAI7ueTgMNwhQs=",
                    TokenId        = ""
                }
            };

            List <ResponseBoats> listFavorites = new List <ResponseBoats>();

            listFavorites = CommonServices.GetPopularBoats(req);

            Assert.IsNotNull(listFavorites);
            Assert.IsTrue((listFavorites.Count > 0 ? true : false));
        }