METHOD_0 ( ) { com . IDENT_0 . IDENT_1 . IDENT_2 IDENT_3 = org . mockito . Mockito . mock ( com . IDENT_0 . IDENT_1 . IDENT_2 . class ) ; org . mockito . Mockito . doReturn ( IDENT_3 ) . when ( IDENT_4 ) . METHOD_1 ( IDENT_5 , IDENT_6 ) ; com . IDENT_0 . IDENT_1 . IDENT_2 IDENT_7 = IDENT_4 . METHOD_2 ( IDENT_5 , IDENT_6 ) ; org . mockito . Mockito . verify ( IDENT_4 ) . METHOD_1 ( IDENT_5 , IDENT_6 ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( com . IDENT_0 . IDENT_1 . IDENT_8 , java . lang . String ) { java . util . Set < com . IDENT_0 . IDENT_1 . IDENT_2 > IDENT_9 = com . IDENT_0 . IDENT_1 . IDENT_2 . METHOD_3 ( conn , path ) ; if ( org . apache . commons . collections . IDENT_10 . isEmpty ( IDENT_9 ) ) { com . cloud . IDENT_11 . IDENT_12 . resource . IDENT_13 . IDENT_14 . debug ( ( STRING_0 + path ) ) ; return null ; } if ( ( IDENT_9 . size ( ) ) > 1 ) { throw new com . cloud . utils . exception . METHOD_4 ( ( STRING_1 + path ) ) ; } com . IDENT_0 . IDENT_1 . IDENT_2 IDENT_7 = IDENT_9 . iterator ( ) . next ( ) ; java . lang . String IDENT_15 = IDENT_7 . METHOD_5 ( conn ) ; com . cloud . IDENT_11 . IDENT_12 . resource . IDENT_13 . IDENT_14 . debug ( java . lang . String . format ( STRING_2 , IDENT_15 ) ) ; java . util . Map < java . lang . String , com . IDENT_0 . IDENT_1 . IDENT_16 . IDENT_17 > IDENT_18 = IDENT_7 . METHOD_6 ( conn ) ; if ( org . apache . commons . collections . IDENT_19 . isEmpty ( IDENT_18 ) ) { com . cloud . IDENT_11 . IDENT_12 . resource . IDENT_13 . IDENT_14 . debug ( java . lang . String . format ( STRING_3 , IDENT_15 ) ) ; } try { IDENT_7 . METHOD_7 ( conn ) ; } catch ( com . IDENT_0 . IDENT_1 . IDENT_16 . IDENT_20 | org . apache . IDENT_21 . IDENT_22 e ) { com . cloud . IDENT_11 . IDENT_12 . resource . IDENT_13 . IDENT_14 . debug ( java . lang . String . format ( STRING_4 , IDENT_15 ) ) ; METHOD_8 ( conn , IDENT_7 ) ; return null ; } com . cloud . IDENT_11 . IDENT_12 . resource . IDENT_13 . IDENT_14 . debug ( java . lang . String . format ( STRING_5 , IDENT_15 ) ) ; return IDENT_7 ; }
org . junit . Assert . assertEquals ( IDENT_3 , IDENT_7 )