public void Cannot_compare_if_the_value_is_not_a_boolean()
 {
     var valueComparer = new BooleanValueComparer();
     valueComparer.CanCompare("x").ShouldBeFalse();
     valueComparer.CanCompare(1).ShouldBeFalse();
     valueComparer.CanCompare(1.34).ShouldBeFalse();
 }
 public void Can_compare_if_the_value_is_a_boolean()
 {
     var valueComparer = new BooleanValueComparer();
     valueComparer.CanCompare(true)
         .ShouldBeTrue();
     valueComparer.CanCompare(false)
         .ShouldBeTrue();
 }