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