public void EmptyLogin_ThrowsException()
        {
            b.Info.Flow();
            string        userName = string.Empty;
            Authorisation a        = new Authorisation();

            Assert.Throws <ArgumentOutOfRangeException>(() => {
                a.IsValid(userName);
            });
        }
        public void KnownBadLogin_Rejected()
        {
            b.Info.Flow();
            string userName = "******";
            bool   loggedIn = false;

            Authorisation a = new Authorisation();

            loggedIn = a.IsValid(userName);

            Assert.False(loggedIn, "Bad UserName Must Not Login");
        }
        public void NullLogin_ThrowsException()
        {
            b.Info.Flow();

            string        userName = string.Empty;
            Authorisation a        = new Authorisation();

            Assert.Throws <ArgumentNullException>(() => {
                // TODO : Implement Login Call here
                a.IsValid(userName);
            });
        }
        public void KnownGoodLogin_Works()
        {
            b.Info.Flow();

            string userName = "******";
            bool   loggedIn = false;

            Authorisation a = new Authorisation();

            loggedIn = a.IsValid(userName);

            Assert.True(loggedIn, "Good UserName Must Login");
        }