public void When_NotContains_1Numeric_Character_Return_False() { var result = Checker.IsStrongPassword("ABCDEFGHI"); Assert.AreEqual(false, result); }
public void When_Password_Contains_An_SpecialCharacter_Return_True() { var result = Checker.IsStrongPassword("1234567AB#"); Assert.AreEqual(result, true); }
public void When_DoesntContainSpecialCharacter_ReturnFalse() { var result = Checker.IsStrongPassword("111111111111a"); Assert.AreEqual(false, result); }
public void When_ContainsAtLeast1AlphabeticCharacter_ReturnFalse() { var result = Checker.IsStrongPassword("111111111111"); Assert.AreEqual(false, result); }
public void When_Length_IsLessThen_Seven_ItShould_Return_False() { var result = Checker.IsStrongPassword("123456"); Assert.AreEqual(false, result); }
public void TestMethod1() { var result = Checker.IsStrongPassword("x"); Assert.AreEqual(false, result); }
public void When_Password_IsNull_ItShouldThrowAnException() { Checker.IsStrongPassword(null); }