public function testGetFromPrefix() { // Pages with this prefix should be test pages 1, & 10-15; i.e. 7 of them. $testPages = $this->pageListGetter->getFromPrefix('Test page 1'); $this->assertCount(11, $testPages->toArray()); }