Closed
Description
As discussed in the context of issue #1790, we would like to implement this so that the following work:
Short Form | Long Form |
---|---|
Has.One | Has.Exactly(1).Items |
Has.One.EqualTo("X") | Has.Exactly(1).Items.EqualTo("X") |
Similarly, we should add One
wherever we now allow Exactly
, e.g.: in ConstraintExpression
.