Added greaterThan(x) invocation matcher #92

Closed
wants to merge 3 commits into from

3 participants

@fentie

This is something that I would have a use for and so I thought others may have as well. I have not yet added an alias method to PHPUnit_Framework_TestCase since it's in a different repo. If this is something you have interest in, I'm also happy to add GreaterThanOrEqualTo, FewerThan, and FewerThanOrEqualTo matchers as well.

@jeunito

+1 but I prefer to say atLeast rather than great than, at most rather than fewer etc. Would love to have these too. What do you think @sebastianbergmann?

@sebastianbergmann

068ba6c adds PHPUnit_Framework_MockObject_Matcher_InvokedAtLeastCount / PHPUnit_Framework_MockObject_Matcher_InvokedAtMostCount and sebastianbergmann/phpunit@d20d40f adds atLeast() / atMost().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment