public void BooleanParserValidationTest3() { string testValue = "error"; BooleanParser parser = new BooleanParser(); ValueValidationResult validationResult = parser.ValidateValue(testValue); Assert.AreEqual(ValueValidationResult.TypeError, validationResult); }
public void BooleanParserValidationTest2() { string testValue = "false"; BooleanParser parser = new BooleanParser(); ValueValidationResult validationResult = parser.ValidateValue(testValue); Assert.AreEqual(ValueValidationResult.OK, validationResult); }