Code Duplication    Length = 3-3 lines in 2 locations

tests/_support/Page/IndexPage.php 2 locations

@@ 198-200 (lines=3) @@
195
         *  $whereNeedle += 2 && $i = 1 because xpath elements starting from 1
196
         */
197
        $arrayForSort = array();
198
        for ($i = 1 ; $i <= $count; ++$i) {
199
            $arrayForSort[$i] = $this->tester->grabTextFrom("//tbody/tr[$i]/td[$whereNeedle]");
200
        }
201
        /**
202
         *  After sort() function arrayForSort start index = 0, but xpath elements starting from 1
203
         */
@@ 205-207 (lines=3) @@
202
         *  After sort() function arrayForSort start index = 0, but xpath elements starting from 1
203
         */
204
        sort($arrayForSort);
205
        for ($i = 1 ; $i <= $count; ++$i) {
206
            $this->tester->see($arrayForSort[$i - 1], "//tbody/tr[$i]/td[$whereNeedle]");
207
        }
208
    }
209
210
}