public void Register_EntryFL_FalseReturn()
        {
            // arrange (необхідно зняти верхній елемент)
            register = new RegisterTest()
            {
                ReadLineData = StubObjects.Register_fLP,
                ReadKeyData  = StubObjects.Register_Key_fLP,
            };

            // act
            string returned;
            bool   actual = register.AnalysisEnterDataTest(new Login(), login, out returned);

            // assert
            Assert.IsFalse(actual);
            Assert.AreEqual(string.Empty, returned);
        }
        public void Register_EntryTL_TrueReturn()
        {
            // arrange
            register = new RegisterTest()
            {
                ReadLineData = StubObjects.Register_tLP,
                ReadKeyData  = StubObjects.Register_Key_tLP,
            };

            // act
            string returned;
            bool   actual = register.AnalysisEnterDataTest(new Login(), login, out returned);

            // assert
            Assert.IsTrue(actual);
            Assert.AreEqual(StubObjects.LoginTrue, returned);
        }
        public void Register_EntryFP_FalseReturn()
        {
            // arrange (необхідно зняти верхній елемент)
            var tempLP = StubObjects.Register_fLP;

            tempLP.Dequeue();
            var tempK = StubObjects.Register_Key_fLP;

            tempK.Dequeue();

            register = new RegisterTest()
            {
                ReadLineData = tempLP,
                ReadKeyData  = tempK,
            };

            // act
            string returned;
            bool   actual = register.AnalysisEnterDataTest(new Password(), password, out returned);

            // assert
            Assert.IsFalse(actual);
            Assert.AreEqual(string.Empty, returned);
        }
        public void Register_EntryTP_TrueReturn()
        {
            // arrange
            var tempLP = StubObjects.Register_tLP;

            tempLP.Dequeue();
            var tempK = StubObjects.Register_Key_tLP;

            tempK.Dequeue();

            register = new RegisterTest()
            {
                ReadLineData = tempLP,
                ReadKeyData  = tempK,
            };

            // act
            string returned;
            bool   actual = register.AnalysisEnterDataTest(new Password(), password, out returned);

            // assert
            Assert.IsTrue(actual);
            Assert.AreEqual(StubObjects.PasswordTrue, returned);
        }