|
From: Marcus B. <ma...@wo...> - 2008-10-03 17:34:39
|
Hi... Travis Swicegood wrote: > AnyExpectationDecorator <-- any pass, this passes > AllExpectationDecorator <-- all must pass I thought that might be what you want. How about these names...? new AnyExpectationOf($expectation, ...) new AllExpectationsOf($expectation, ...) They are not really decorators, and not really composites either. > > That said, I could probably write a custom expectation that could > handle this case just as easily. That's a good argument for not adding them, although I have no objection other than a desire to keep the code base small. Can you wait for a second request for this feature? > > -T yours, Marcus |