METHOD_0 ( ) { "<AssertPlaceHolder>" ; } METHOD_1 ( java . lang . IDENT_0 , java . lang . String ) { if ( com . IDENT_1 . core . IDENT_2 . METHOD_2 ( IDENT_3 ) ) { return java . util . Collections . METHOD_3 ( ) ; } org . apache . commons . lang3 . IDENT_4 . METHOD_4 ( IDENT_5 , STRING_0 ) ; java . util . Map < T , IDENT_6 > map = com . IDENT_1 . core . util . IDENT_7 . METHOD_5 ( org . apache . commons . IDENT_8 . IDENT_9 . size ( IDENT_3 ) ) ; for ( IDENT_6 o : IDENT_3 ) { T key = com . IDENT_1 . core . bean . IDENT_10 . getProperty ( o , IDENT_5 ) ; if ( ! ( map . containsKey ( key ) ) ) { map . put ( key , o ) ; } else { if ( com . IDENT_1 . core . util . IDENT_11 . LOGGER . METHOD_6 ( ) ) { com . IDENT_1 . core . util . IDENT_11 . LOGGER . trace ( STRING_1 , map . METHOD_7 ( ) , key ) ; } } } return map ; }
org . junit . Assert . assertEquals ( METHOD_3 ( ) , com . IDENT_1 . core . util . IDENT_11 . METHOD_1 ( null , "name" ) )