METHOD_0 ( ) { "<AssertPlaceHolder>" ; } getInstance ( java . lang . String ) { if ( org . apache . commons . lang . StringUtils . isEmpty ( template ) ) { template = com . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_4 . lib . IDENT_5 . IDENT_6 ; } com . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_4 . lib . IDENT_5 instance ; if ( ! ( com . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_4 . lib . IDENT_5 . IDENT_7 . METHOD_1 ( ) . contains ( template ) ) ) { instance = new com . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_4 . lib . METHOD_2 ( template ) ; com . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_4 . lib . METHOD_2 . IDENT_7 . put ( template , instance ) ; } else { instance = com . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_4 . lib . METHOD_2 . IDENT_7 . get ( template ) ; } return instance ; }
org . junit . Assert . assertEquals ( METHOD_2 . IDENT_6 , com . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_4 . lib . METHOD_2 . getInstance ( "" ) . template . getName ( ) )