METHOD_0 ( ) { org . xwiki . IDENT_0 . IDENT_1 IDENT_2 = new org . xwiki . IDENT_0 . METHOD_1 ( STRING_0 ) ; when ( IDENT_3 . get ( STRING_0 ) ) . thenReturn ( IDENT_2 ) ; org . xwiki . IDENT_0 . METHOD_1 result = IDENT_4 . METHOD_2 ( ) . METHOD_3 ( ) ; "<AssertPlaceHolder>" ; verify ( IDENT_5 , METHOD_4 ( ) ) . METHOD_5 ( any ( java . io . IDENT_6 . class ) , any ( ) ) ; } METHOD_3 ( ) { org . xwiki . IDENT_0 . METHOD_1 IDENT_2 = new org . xwiki . IDENT_0 . METHOD_1 ( STRING_0 ) ; when ( IDENT_5 . METHOD_5 ( any ( java . io . IDENT_7 . class ) , eq ( STRING_0 ) ) ) . thenReturn ( IDENT_2 ) ; java . io . InputStream is = getClass ( ) . getResourceAsStream ( STRING_1 ) ; when ( xwiki . getResourceAsStream ( STRING_2 ) ) . thenReturn ( is ) ; org . junit . Assert . assertEquals ( IDENT_2 , IDENT_4 . METHOD_2 ( ) . METHOD_6 ( STRING_0 ) ) ; METHOD_7 ( IDENT_8 ) ; }
org . junit . Assert . assertEquals ( IDENT_2 , result )