コード例 #1
0
ファイル: queryTest.php プロジェクト: antidot/php_api
 public function testRemoveValueFromUnexistingFilter()
 {
     $query = new AfsQuery();
     try {
         $query->remove_filter('foo', 'bar');
     } catch (Exception $e) {
         $this->fail('Exception raised: ' . $e);
     }
     try {
         $query->remove_filter('foo', 'bar', 'feed');
     } catch (Exception $e) {
         $this->fail('Exception raised: ' . $e);
     }
 }