public function testSearchNotFound() { $q = 'non exist search query'; $posts = PostRepository::search($q); $this->assertCount(0, $posts); }