public void TestUserIsValidated() { // Arrange var ctrl = new BLL.UserCtrl(); var u1 = CreateTestUser("hunter1"); u1.LogInSession = new Session(); // ACT bool isValidated = ctrl.IsValidated(u1); // Assert Assert.IsTrue(isValidated); }