public void SalesforceClientGetVersionsAsync() { // Arrange var service = new SalesforceClient(ConsumerKey, ConsumerSecret, RefreshToken); // Act IList<ApiVersion> versions = service.GetVersionsAsync().Result; // Assert Assert.IsNotNull(versions); Assert.True(versions.Count > 0); foreach (var version in versions) { Console.WriteLine(version.Version); } }