METHOD_0 ( ) { when ( this . query . execute ( ) ) . METHOD_1 ( new org . xwiki . query . METHOD_2 ( "" , this . query , null ) ) ; org . json . JSONObject response = new org . json . JSONObject ( this . component . METHOD_3 ( STRING_0 , 200 , STRING_1 , org . IDENT_0 . data . rest . internal . IDENT_1 . IDENT_2 , STRING_2 ) ) ; org . json . IDENT_3 IDENT_4 = response . METHOD_4 ( STRING_3 ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( java . lang . String , int , java . lang . String , java . lang . String , java . lang . String ) { if ( org . apache . commons . lang3 . StringUtils . isEmpty ( input ) ) { throw new javax . ws . rs . METHOD_5 ( Response . Status . IDENT_5 ) ; } java . util . List < org . IDENT_0 . data . IDENT_6 > IDENT_7 = METHOD_6 ( input . toLowerCase ( ) , IDENT_8 , order , IDENT_9 , org . xwiki . security . authorization . IDENT_10 . METHOD_7 ( IDENT_11 ) ) ; org . json . IDENT_3 results = new org . json . METHOD_8 ( ) ; for ( org . IDENT_0 . data . IDENT_6 IDENT_12 : IDENT_7 ) { results . put ( METHOD_9 ( IDENT_12 ) ) ; } org . json . JSONObject IDENT_13 = new org . json . JSONObject ( ) ; IDENT_13 . put ( STRING_3 , results ) ; return IDENT_13 . toString ( ) ; }
org . junit . Assert . assertEquals ( 0 , IDENT_4 . length ( ) )