예제 #1
0
        public void GetLocalVersionKey()
        {
            AllegroApiWrapper allegroApiWrapper = new AllegroApiWrapper(allegroServiceClient);
            long r = allegroApiWrapper.GetLocalVersionKey();

            Assert.AreNotEqual(0, r);
        }
예제 #2
0
        public void GetMySellItems()
        {
            AllegroApiWrapper allegroApiWrapper = new AllegroApiWrapper(allegroServiceClient);

            allegroApiWrapper.GetLocalVersionKey();
            allegroApiWrapper.DoLogin();
            var r = allegroApiWrapper.GetMySellItems();

            Assert.IsNotNull(r);
        }
예제 #3
0
        public void DoLogin()
        {
            AllegroApiWrapper allegroApiWrapper = new AllegroApiWrapper(allegroServiceClient);

            allegroApiWrapper.GetLocalVersionKey();
            string handler = allegroApiWrapper.DoLogin();

            Assert.IsNotNull(handler);
            Assert.AreNotEqual("", handler);
        }