METHOD_0 ( ) { java . util . List < org . IDENT_0 . query . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_4 . IDENT_5 > IDENT_6 = com . google . common . collect . ImmutableList . of ( new org . IDENT_0 . query . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_4 . METHOD_1 ( org . IDENT_0 . query . IDENT_1 . IDENT_2 . IDENT_7 . METHOD_2 ( STRING_0 ) , STRING_1 ) ) ; java . io . InputStream IDENT_8 = new java . io . ByteArrayInputStream ( STRING_2 . getBytes ( STRING_3 ) ) ; when ( template . METHOD_3 ( ) ) . thenReturn ( STRING_4 ) ; java . lang . Object results = METHOD_4 ( IDENT_6 ) . METHOD_5 ( IDENT_8 , binding , 0 ) ; "<AssertPlaceHolder>" ; } METHOD_5 ( java . io . InputStream , com . IDENT_9 . IDENT_10 . IDENT_11 , int ) { if ( IDENT_6 . isEmpty ( ) ) { return null ; } org . w3c . dom . Document doc = IDENT_12 . get ( ) . parse ( IDENT_8 ) ; javax . xml . IDENT_13 . IDENT_14 path = IDENT_13 . get ( ) ; com . google . common . collect . ImmutableMap < java . lang . String , java . lang . String > IDENT_15 = METHOD_6 ( doc , path ) ; javax . xml . IDENT_13 . IDENT_16 IDENT_17 = path . METHOD_7 ( template . METHOD_3 ( ) ) ; org . w3c . dom . IDENT_18 nodes = ( ( org . w3c . dom . IDENT_18 ) ( IDENT_17 . evaluate ( doc , IDENT_19 . IDENT_20 ) ) ) ; if ( ( nodes . METHOD_8 ( ) ) == 0 ) { return null ; } com . IDENT_9 . IDENT_10 . IDENT_11 [ ] results = new com . IDENT_9 . IDENT_10 . IDENT_11 [ nodes . METHOD_8 ( ) ] ; final java . util . Map < org . IDENT_0 . query . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_4 . METHOD_1 , javax . xml . IDENT_13 . IDENT_16 > IDENT_21 = new java . util . HashMap ( ) ; for ( org . IDENT_0 . query . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_4 . METHOD_1 IDENT_22 : IDENT_6 ) { IDENT_21 . put ( IDENT_22 , IDENT_13 . get ( ) . METHOD_7 ( IDENT_22 . getPath ( ) ) ) ; } for ( int i = 0 ; i < ( nodes . METHOD_8 ( ) ) ; i ++ ) { final org . w3c . dom . Node node = nodes . item ( i ) ; results [ i ] = binding . METHOD_9 ( null ) ; for ( Map . Entry < org . IDENT_0 . query . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_4 . METHOD_1 , javax . xml . IDENT_13 . IDENT_16 > IDENT_22 : IDENT_21 . entrySet ( ) ) { final com . IDENT_9 . IDENT_10 . IDENT_23 IDENT_24 ; if ( IDENT_22 . getKey ( ) . METHOD_10 ( ) ) { IDENT_24 = org . IDENT_0 . query . IDENT_1 . IDENT_2 . IDENT_7 . METHOD_11 ( IDENT_25 . METHOD_12 ( ) , ( i + IDENT_26 ) ) ; results [ i ] . set ( IDENT_22 . getKey ( ) . METHOD_13 ( ) , IDENT_24 ) ; continue ; } final org . w3c . dom . Node value = ( ( org . w3c . dom . Node ) ( IDENT_22 . getValue ( ) . evaluate ( node , IDENT_19 . IDENT_27 ) ) ) ; if ( ( value != null ) && ( ( value . METHOD_14 ( ) ) != null ) ) { if ( IDENT_22 . getKey ( ) . METHOD_15 ( ) ) { IDENT_24 = org . IDENT_0 . query . IDENT_1 . IDENT_2 . IDENT_7 . METHOD_11 ( IDENT_25 . METHOD_12 ( ) , IDENT_22 . getKey ( ) . METHOD_16 ( value . METHOD_14 ( ) ) ) ; } else { IDENT_24 = org . IDENT_0 . query . IDENT_1 . IDENT_2 . IDENT_7 . METHOD_11 ( IDENT_25 . METHOD_12 ( ) , value . METHOD_14 ( ) ) ; } results [ i ] . set ( IDENT_22 . getKey ( ) . METHOD_13 ( ) , IDENT_24 ) ; } } } return new org . IDENT_0 . query . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_28 . METHOD_17 ( results , IDENT_15 ) ; }
org . junit . Assert . assertNull ( results )