METHOD_0 ( ) { java . lang . String IDENT_0 = STRING_0 ; when ( IDENT_1 . getProperty ( STRING_1 ) ) . thenReturn ( IDENT_0 ) ; org . xwiki . model . reference . IDENT_2 IDENT_3 = new org . xwiki . model . reference . METHOD_1 ( STRING_2 , STRING_3 , STRING_4 ) ; when ( IDENT_4 . resolve ( IDENT_0 ) ) . thenReturn ( IDENT_3 ) ; when ( IDENT_5 . exists ( IDENT_3 ) ) . thenReturn ( true ) ; org . xwiki . IDENT_6 . IDENT_7 IDENT_8 = new org . xwiki . IDENT_6 . METHOD_2 ( IDENT_0 ) ; when ( IDENT_9 . METHOD_3 ( IDENT_3 ) ) . thenReturn ( IDENT_8 ) ; org . xwiki . IDENT_6 . METHOD_2 result = IDENT_10 . METHOD_4 ( ) . METHOD_0 ( ) ; "<AssertPlaceHolder>" ; verify ( IDENT_11 ) . put ( IDENT_3 , IDENT_8 ) ; verify ( IDENT_11 ) . put ( IDENT_0 , STRING_5 , IDENT_8 ) ; } METHOD_0 ( ) { java . lang . String IDENT_0 = STRING_0 ; when ( IDENT_1 . getProperty ( STRING_1 ) ) . thenReturn ( IDENT_0 ) ; org . xwiki . model . reference . METHOD_1 IDENT_3 = new org . xwiki . model . reference . METHOD_1 ( STRING_2 , STRING_3 , STRING_4 ) ; when ( IDENT_4 . resolve ( IDENT_0 ) ) . thenReturn ( IDENT_3 ) ; when ( IDENT_5 . exists ( IDENT_3 ) ) . thenReturn ( true ) ; org . xwiki . IDENT_6 . METHOD_2 IDENT_8 = new org . xwiki . IDENT_6 . METHOD_2 ( IDENT_0 ) ; when ( IDENT_9 . METHOD_3 ( IDENT_3 ) ) . thenReturn ( IDENT_8 ) ; org . xwiki . IDENT_6 . METHOD_2 result = IDENT_10 . METHOD_4 ( ) . METHOD_0 ( ) ; org . junit . Assert . assertEquals ( IDENT_8 , result ) ; verify ( IDENT_11 ) . put ( IDENT_3 , IDENT_8 ) ; verify ( IDENT_11 ) . put ( IDENT_0 , STRING_5 , IDENT_8 ) ; }
org . junit . Assert . assertEquals ( IDENT_8 , result )