function testShouldListMakesNotInUseIfConfigSaysTo()
 {
     $config = new Zend_Config(array('search' => array('showAllOptions' => 'true')));
     $vehicle = $this->createVehicle(array('make' => 'Honda', 'model' => 'Civic', 'year' => 2000));
     $search = new VF_Search();
     $search->setConfig($config);
     $search->setRequest($this->getRequest());
     $request = $this->getRequest($vehicle->toValueArray());
     $search->setRequest($request);
     $this->setRequest($request);
     $actual = $search->listEntities('make');
     $this->assertEquals(1, count($actual), 'should list makes not in use when config says to');
 }
 function showSearchButton()
 {
     $block = new VF_Search();
     $block->setConfig($this->getConfig());
     return $block->showSearchButton();
 }