public void ServersTest() { var result = client.GetServers(Properties.Resources.UserName, Properties.Resources.Password).Result; Assert.IsNotNull(result.ServerList); Assert.IsNull(result.Message); }
/// <summary> /// Gets a list of servers /// </summary> /// <returns>list of servers</returns> public async Task <ServerResult> GetServers() { return(await client.GetServers(token)); }