Ejemplo n.º 1
0
        public void SetGetURLTest()
        {
            // Arrange
            LoginInformation li     = new LoginInformation(newTitle: "Random forum", newUrl: "https://somedomain.com", newEmail: "*****@*****.**", newUsername: "******", newPassword: "******");
            string           newURL = "https://otherdomain.com";

            // Act
            li.UpdateURL(newURL);

            // Assert
            Assert.AreEqual(newURL, li.GetURL());
        }