Exemple #1
0
 public void GetBooleanFromTrueFalse_ReturnsCorrectBoolean()
 {
     Assert.True(AttributeHelpers.GetBooleanFromTrueFalse("TRUE"));
     Assert.False(AttributeHelpers.GetBooleanFromTrueFalse("FALSE"));
     Assert.Null(AttributeHelpers.GetBooleanFromTrueFalse(""));
     Assert.Null(AttributeHelpers.GetBooleanFromTrueFalse(null));
     Assert.Null(AttributeHelpers.GetBooleanFromTrueFalse(null));
     Assert.Null(AttributeHelpers.GetBooleanFromTrueFalse("SOME_RANDOM_STRING"));
 }