コード例 #1
0
        public void TestGetNetworkByPhoneException()
        {
            IApiConnector connector = new LocalApiConnector(getErrorData());

            var client = new IntisClient(Login, ApiKey, ApiHost, connector);

            client.GetNetworkByPhone(442073238000);
        }
コード例 #2
0
        public void TestGetNetworkByPhone()
        {
            IApiConnector connector = new LocalApiConnector(getData());

            var client = new IntisClient(Login, ApiKey, ApiHost, connector);

            var network = client.GetNetworkByPhone(442073238000);
            var title = network.Title;

            Assert.IsNotNull(network);
        }