public async Task GetNetworkInfo()
        {
            ApiResponse response = await NetworkApi.GetNetworkInfo();

            Assert.IsFalse(response.HasError);
            NetworkInfo result = response.GetResult <NetworkInfo>();

            Assert.IsNotNull(result);
        }
Beispiel #2
0
        public Result <NetworkInfo> GetNetworkInfo()
        {
            ApiResponse response = NetworkApi.GetNetworkInfo().Result;

            return(GetResult <NetworkInfo>(response));
        }