METHOD_0 ( ) { com . IDENT_0 . IDENT_1 . IDENT_2 IDENT_3 = new com . IDENT_0 . IDENT_1 . METHOD_1 ( STRING_0 , STRING_1 , "" , "" , java . util . Collections . < java . lang . String > emptyList ( ) ) ; java . util . List < com . IDENT_0 . IDENT_1 . IDENT_4 > resources = new com . IDENT_0 . IDENT_1 . METHOD_2 ( METHOD_3 ( ) ) . METHOD_4 ( IDENT_3 ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( com . IDENT_0 . IDENT_1 . METHOD_1 ) { java . util . Set < com . IDENT_0 . IDENT_1 . IDENT_4 > IDENT_5 = new java . util . HashSet < com . IDENT_0 . IDENT_1 . IDENT_4 > ( ) ; boolean IDENT_6 = true ; java . util . Map < java . lang . String , java . lang . String > query = new java . util . HashMap < java . lang . String , java . lang . String > ( ) ; while ( IDENT_6 ) { java . lang . String result = IDENT_7 . METHOD_5 ( IDENT_3 . METHOD_6 ( ) , query ) ; com . IDENT_8 . IDENT_9 . IDENT_10 xml = com . IDENT_8 . IDENT_9 . IDENT_11 . from ( result , true ) ; log . trace ( STRING_2 , xml ) ; if ( xml . METHOD_7 ( STRING_3 ) ) { throw METHOD_8 ( xml ) ; } if ( xml . getText ( STRING_4 ) . equals ( "name" 5 ) ) { IDENT_6 = false ; } java . lang . String IDENT_12 = "name" 1 ; for ( com . IDENT_8 . IDENT_9 . IDENT_10 record : xml . METHOD_9 ( "name" 4 ) ) { java . lang . String name = record . getText ( "name" 6 ) ; java . lang . String type = record . getText ( "name" 3 ) ; java . lang . String IDENT_13 = null ; java . lang . String IDENT_14 = null ; if ( record . METHOD_7 ( STRING_5 ) ) { IDENT_14 = record . getText ( STRING_5 ) ; IDENT_13 = record . getText ( "name" 2 ) ; } java . lang . String IDENT_15 = null ; java . lang . String IDENT_16 = null ; java . lang . String IDENT_17 = null ; java . util . List < java . lang . String > values = new java . util . ArrayList < java . lang . String > ( ) ; if ( record . METHOD_7 ( STRING_6 ) ) { IDENT_16 = record . getText ( STRING_7 ) ; IDENT_17 = record . getText ( STRING_8 ) ; } else { IDENT_15 = record . getText ( STRING_9 ) ; for ( com . IDENT_8 . IDENT_9 . IDENT_10 resource : record . METHOD_9 ( STRING_10 ) ) { values . add ( resource . getText ( "name" 0 ) ) ; } java . util . Collections . METHOD_10 ( values ) ; } IDENT_5 . add ( new com . IDENT_0 . IDENT_1 . METHOD_11 ( name , com . IDENT_0 . IDENT_1 . IDENT_18 . valueOf ( type ) , METHOD_12 ( IDENT_15 , 0 ) , values , IDENT_14 , METHOD_12 ( IDENT_13 , 0 ) , IDENT_16 , IDENT_17 ) ) ; IDENT_12 = name ; } query . put ( "name" , IDENT_12 ) ; } java . util . List < com . IDENT_0 . IDENT_1 . METHOD_11 > list = new java . util . ArrayList < com . IDENT_0 . IDENT_1 . METHOD_11 > ( ) ; list . addAll ( IDENT_5 ) ; return list ; }
org . junit . Assert . assertEquals ( 4 , resources . size ( ) )