public void UserLogin()
        {
            ISecurityProvider Provider = new SecurityProvider(Context);
            var testUser = SeedData.CreateUser(Context, "testUser", "password@1");

            var user = Provider.UserLogin(testUser.UserName, "password@1");

            user.ShouldNotBeNull();
            user.UserName.ShouldEqual(testUser.UserName);
            user.AllowedPrivileges.ShouldNotBeNull();
            Provider.CurrentUser.ShouldNotBeNull();
        }
        public void UserLoginFailed()
        {
            ISecurityProvider Provider = new SecurityProvider(Context);

            var testUser = SeedData.CreateUser(Context,"test","password@1","Mr","Bond","James","*****@*****.**");

            var user = Provider.UserLogin(testUser.UserName, "password@1");
            user.ShouldNotBeNull();
        }