public function testSearchWithSearchDisabled() { $repoConfig = array( 'repository-manager' => $this->rm, 'asset-options' => array( 'searchable' => false, ), ); $this->registry = $this->getRegistry($repoConfig, $this->io, $this->config); $this->assertCount(0, $this->registry->search('query')); }