public void UserList()
        {
            MockAuthenticationBase mock = new MockAuthenticationBase();
            Assert.IsNotNull(mock.UserList,
                "UserList should not be null.");

            InvalidAuthenticationBase invalid = new InvalidAuthenticationBase();
            ExceptionHelper.ExpectException<InvalidOperationException>(
                () => Assert.IsNull(invalid.UserList, "UserType should throw an exception."));
        }
        public void UserType()
        {
            MockAuthenticationBase mock = new MockAuthenticationBase();
            Assert.AreEqual(typeof(MockUser), mock.UserType,
                "UserType should be MockUser.");

            InvalidAuthenticationBase invalid = new InvalidAuthenticationBase();
            ExceptionHelper.ExpectException<InvalidOperationException>(
                () => Assert.IsNull(invalid.UserType, "UserType should throw an exception."));
        }
        public void UserList()
        {
            MockAuthenticationBase mock = new MockAuthenticationBase();

            Assert.IsNotNull(mock.UserList,
                             "UserList should not be null.");

            InvalidAuthenticationBase invalid = new InvalidAuthenticationBase();

            ExceptionHelper.ExpectException <InvalidOperationException>(
                () => Assert.IsNull(invalid.UserList, "UserType should throw an exception."));
        }
        public void UserType()
        {
            MockAuthenticationBase mock = new MockAuthenticationBase();

            Assert.AreEqual(typeof(MockUser), mock.UserType,
                            "UserType should be MockUser.");

            InvalidAuthenticationBase invalid = new InvalidAuthenticationBase();

            ExceptionHelper.ExpectException <InvalidOperationException>(
                () => Assert.IsNull(invalid.UserType, "UserType should throw an exception."));
        }