public function testCanGetOneCountryCaseSensitive() { $this->assertEquals(1, count($this->countryBusinessObject->searchCountries("canada"))); }
public function countrysearchAction() { $query = $this->getRequest()->getParam("query"); $countryBusinessObject = new App_Countries(); echo Zend_Json_Encoder::encode($countryBusinessObject->searchCountries($query)); }