public void ForConstructorTrueAndTextNUllShouldReturnnull() { var isTrue = new PasswordText("true"); IMatch actual = isTrue.Match(null); Assert.Null(actual.RemainingText()); }
public void ForConstructorFalseAndTextFalseShouldReturnTrue() { var isFalse = new PasswordText("false"); IMatch actual = isFalse.Match("false"); Assert.True(actual.Succes()); }
public void ForConstructorTrueAndTextEmptyStringShouldReturnEmptyString() { var isTrue = new PasswordText("true"); IMatch actual = isTrue.Match(string.Empty); Assert.Equal(string.Empty, actual.RemainingText()); }
public void ForConstructorTrueAndTextNullShouldReturnFalse() { var isTrue = new PasswordText("true"); IMatch actual = isTrue.Match(null); Assert.False(actual.Succes()); }
public void ForConstructorTrueAndTextFalseShouldReturnTextfalse() { var isTrue = new PasswordText("true"); IMatch actual = isTrue.Match("false"); Assert.Equal("false", actual.RemainingText()); }
public void ConstructorTrueAndTextTrueShouldReturnTrue() { var isTrue = new PasswordText("true"); IMatch actual = isTrue.Match("true"); Assert.True(actual.Succes()); }
public void ForConstructorEmptyStringAndTextNullShouldReturnnull() { var isFalse = new PasswordText(string.Empty); IMatch actual = isFalse.Match(null); Assert.Null(actual.RemainingText()); }
public void ForConstructorTrueAndTextTruexShouldReturnx() { var isTrue = new PasswordText("true"); IMatch actual = isTrue.Match("truex"); Assert.Equal("x", actual.RemainingText()); }
public void ForConstructorEmptyStringAndTextTrueShouldReturnTextTrue() { var isFalse = new PasswordText(string.Empty); IMatch actual = isFalse.Match("true"); Assert.Equal("true", actual.RemainingText()); }
public void ForConstructorEmptyStringAndTextNullShouldReturnFalse() { var isFalse = new PasswordText(string.Empty); IMatch actual = isFalse.Match(null); Assert.False(actual.Succes()); }
public void ForConstructorEmptyStringAndTextTrueShouldReturnTrue() { var isFalse = new PasswordText(string.Empty); IMatch actual = isFalse.Match("true"); Assert.True(actual.Succes()); }
public void ForConstructorFalseAndTextNullShouldReturnNull() { var isFalse = new PasswordText("false"); IMatch actual = isFalse.Match(null); Assert.Null(actual.RemainingText()); }
public void ForConstructorFalseAndTextEmptyStringShouldReturnFalse() { var isFalse = new PasswordText("false"); IMatch actual = isFalse.Match(string.Empty); Assert.False(actual.Succes()); }
public void ForConstructorFalseAndTextFalsexShouldReturnTextx() { var isFalse = new PasswordText("false"); IMatch actual = isFalse.Match("falsex"); Assert.Equal("x", actual.RemainingText()); }
public void ForConstructorFalseAndTextFalseShouldReturnTextEmprtyString() { var isFalse = new PasswordText("false"); IMatch actual = isFalse.Match("false"); Assert.Equal(string.Empty, actual.RemainingText()); }