public void TestRegisterUser_ExistingUser()
        {
            IIssueTracker tracker         = new FakeIssueTrackerWithNoUser();
            string        username        = "******";
            string        password        = "******";
            string        confirmPassword = "******";

            tracker.RegisterUser(username, password, confirmPassword);
            string result = tracker.RegisterUser(username, password, confirmPassword);

            Assert.AreEqual(result, "A user with username pesho already exists",
                            "RegisterUser() does not return proper outcome in case of duplicate user.");
        }
        public void TestRegisterUser_PasswordsDoNotMatch()
        {
            IIssueTracker tracker         = new FakeIssueTrackerWithNoUser();
            string        username        = "******";
            string        password        = "******";
            string        confirmPassword = "******";

            string result = tracker.RegisterUser(username, password, confirmPassword);

            Assert.AreEqual(result, "The provided passwords do not match",
                            "RegisterUser() does not return proper outcome in case of pasword mismatch.");
        }