METHOD_0 ( ) { final java . lang . String key = STRING_0 ; final org . apache . logging . log4j . message . IDENT_0 msg = new org . apache . logging . log4j . message . METHOD_1 ( ) . with ( key , new org . apache . logging . log4j . message . IDENT_1 . METHOD_2 ( ) ) ; final java . lang . String result = msg . remove ( key ) ; final java . lang . String expected = STRING_1 ; "<AssertPlaceHolder>" ; } remove ( java . lang . String ) { boolean IDENT_2 ; do { IDENT_2 = true ; final org . apache . logging . log4j . core . config . IDENT_3 [ ] original = IDENT_4 . get ( ) ; for ( int i = 0 ; i < ( original . length ) ; i ++ ) { final org . apache . logging . log4j . core . config . IDENT_3 IDENT_5 = original [ i ] ; if ( java . util . IDENT_6 . equals ( name , IDENT_5 . METHOD_3 ( ) ) ) { final org . apache . logging . log4j . core . config . IDENT_3 [ ] IDENT_7 = METHOD_4 ( i , original ) ; if ( IDENT_4 . METHOD_5 ( original , IDENT_7 ) ) { return IDENT_5 ; } IDENT_2 = false ; break ; } } } while ( ! IDENT_2 ) ; return null ; }
org . junit . Assert . assertEquals ( expected , result )