Closed fedys closed 6 years ago
Duplicates #25
@froschdesign you are right my PR is duplicating #25 but my PR contains tests which tests the repetitive call of Zend\Paginator\Paginator::_calculatePageCount()
unlike the PR #25. Please consider merging of my ZendTest\Paginator\PaginatorTest::testRepetitiveCallCountResultingZeroDoesNotCauseRepetitiveCallOfCalculatePageCountMethod()
I've seen it and I prefer your test in this special case.
thanks :)
@fedys Can you simplify the test method name? Maybe replace "RepetitiveCallCountResultingZero" with "CountResultOfZero" or something shorter.
Can you simplify the test method name?
Just a note: as a general rule, the more descriptive the name, the better. Test names should indicate the behavior being tested.
Thanks, @fedys!
22