public void NotEqual_ValuesAreLongs_SpecificValue_Val1DoesNotNotEqualpecificValue_ExpectTrue() { //Arrange NotEqualModelOfLongs model = new NotEqualModelOfLongs { Val1 = 100 }; //Act bool isValid = model.PropertyIsValid("Val1"); //Assert isValid.ShouldBeTrue(); }
public void NotEqual_ValuesAreLongs_SpecificValue_Val1NotEqualSpecificValue_ExpectFalse() { //Arrange NotEqualModelOfLongs model = new NotEqualModelOfLongs { Val1 = 99 }; //Act bool isValid = model.PropertyIsValid("Val1"); //Assert isValid.ShouldBeFalse(); }
public void NotEqual_ValuesAreLongs_Val1DoesNotEqualVal2_ExpectTrue() { //Arrange NotEqualModelOfLongs model = new NotEqualModelOfLongs { Val1 = 1, Val2 = 2 }; //Act bool isValid = model.PropertyIsValid("Val2"); //Assert isValid.ShouldBeTrue(); }
public void NotEqual_ValuesAreLongs_Val1IsNullAndVal2IsNotNull_ExpectTrue() { //Arrange NotEqualModelOfLongs model = new NotEqualModelOfLongs { Val1 = null, Val2 = 1 }; //Act bool isValid = model.PropertyIsValid("Val2"); //Assert isValid.ShouldBeTrue(); }
public void NotEqual_ValuesAreLongs_Val1NotEqualVal2_ExpectFalse() { //Arrange NotEqualModelOfLongs model = new NotEqualModelOfLongs {Val1 = 1, Val2 = 1}; //Act bool isValid = model.PropertyIsValid("Val2"); //Assert isValid.ShouldBeFalse(); }
public void NotEqual_ValuesAreLongs_Val1IsNullAndVal2IsNotNull_ExpectTrue() { //Arrange NotEqualModelOfLongs model = new NotEqualModelOfLongs {Val1 = null, Val2 = 1}; //Act bool isValid = model.PropertyIsValid("Val2"); //Assert isValid.ShouldBeTrue(); }
public void NotEqual_ValuesAreLongs_SpecificValue_Val1NotEqualSpecificValue_ExpectFalse() { //Arrange NotEqualModelOfLongs model = new NotEqualModelOfLongs {Val1 = 99}; //Act bool isValid = model.PropertyIsValid("Val1"); //Assert isValid.ShouldBeFalse(); }
public void NotEqual_ValuesAreLongs_SpecificValue_Val1DoesNotNotEqualpecificValue_ExpectTrue() { //Arrange NotEqualModelOfLongs model = new NotEqualModelOfLongs {Val1 = 100}; //Act bool isValid = model.PropertyIsValid("Val1"); //Assert isValid.ShouldBeTrue(); }