public void Returns_false_for_data_that_is_not_boolean() { var retriever = new BoolValueRetriever(); retriever.GetValue("sssssdfsd").ShouldBeFalse(); retriever.GetValue(null).ShouldBeFalse(); retriever.GetValue("").ShouldBeFalse(); retriever.GetValue("this is false").ShouldBeFalse(); }
public void Returns_true_when_the_value_is_true() { var retriever = new BoolValueRetriever(); retriever.GetValue("true").Should().BeTrue(); }
public void Returns_false_when_the_value_is_False() { var retriever = new BoolValueRetriever(); retriever.GetValue("False").Should().BeFalse(); }