예제 #1
0
        public async void GetBlob_ReturnsProperData()
        {
            // Arrange
            System.Net.ServicePointManager.ServerCertificateValidationCallback +=
                (sender, certificate, chain, sslPolicyErrors) => true;

            const string username  = "";
            const string password  = "";
            var          blobVault = new Client.BlobVault.BlobVault("https://blobvault.payward.com/");

            // Act
            var result = await blobVault.GetBlob(username, password);

            // Assert
            Assert.IsTrue(result.HasValues);
        }
예제 #2
0
        public async void GetBlob_ReturnsProperData()
        {
            // Arrange
            System.Net.ServicePointManager.ServerCertificateValidationCallback +=
                (sender, certificate, chain, sslPolicyErrors) => true;

            const string username = "";
            const string password = "";
            var blobVault = new Client.BlobVault.BlobVault("https://blobvault.payward.com/");

            // Act
            var result = await blobVault.GetBlob(username, password);

            // Assert
            Assert.IsTrue(result.HasValues);
        }