Exemplo n.º 1
0
 public void GetAllPublisherDataExceptionTestOne()
 {
     RentItClient target = new RentItClient();
     AccountCredentials credentials = new AccountCredentials
     {
         UserName = "******",
         HashedPassword = "******"
     };
     target.GetAllPublisherData(credentials);
 }
Exemplo n.º 2
0
 public void GetAllPublisherDataExceptionTestTwo()
 {
     RentItClient target = new RentItClient();
     AccountCredentials credentials = new AccountCredentials
     {
         UserName = "******",
         HashedPassword = "******"
     };
     target.GetAllPublisherData(credentials);
 }
Exemplo n.º 3
0
        public void GetAllPublisherDataTest()
        {
            RentItClient target = new RentItClient();
            AccountCredentials credentials = new AccountCredentials
            {
                UserName = "******",
                HashedPassword = "******"
            };

            PublisherAccount actual = target.GetAllPublisherData(credentials);

            Assert.AreEqual("publishCorp", actual.UserName);
            Assert.AreEqual("*****@*****.**", actual.Email);
            Assert.AreEqual("Publish Corp. Publishing Division", actual.FullName);
            Assert.AreEqual("7110EDA4D09E062AA5E4A390B0A572AC0D2C0220", actual.HashedPassword);
            Assert.AreEqual("Publish Corp. International", actual.PublisherName);
        }