Closed
Description
#135 will already throw a non-terminator error if empty but still allow multiple elements to return.
If you expect only one element and use the -Single
switch, an error should also be thrown if more than 1 elements are present.
(Behind the scene, I believe FindElement
method already deal with that so it should be used when the switch is specified.