METHOD_0 ( ) { System . out . println ( STRING_0 ) ; java . lang . Object obj = 2 ; java . lang . StringBuffer IDENT_0 = new java . lang . StringBuffer ( ) ; java . text . IDENT_1 pos = new java . text . METHOD_1 ( java . text . IDENT_2 . IDENT_3 ) ; org . IDENT_4 . api . IDENT_5 instance = org . IDENT_4 . api . IDENT_5 . getInstance ( org . IDENT_4 . api . IDENT_6 . IDENT_7 ) ; java . lang . String expResult = "2" ; java . lang . StringBuffer result = instance . format ( obj , IDENT_0 , pos ) ; "<AssertPlaceHolder>" ; } toString ( ) { java . lang . String str = STRING_1 ; java . util . Iterator < org . IDENT_4 . IDENT_8 . IDENT_9 > iterator = METHOD_2 ( ) . iterator ( ) ; while ( iterator . hasNext ( ) ) { org . IDENT_4 . IDENT_8 . IDENT_9 key = iterator . next ( ) ; org . IDENT_4 . IDENT_10 . IDENT_11 parameter = ( ( org . IDENT_4 . IDENT_10 . IDENT_11 ) ( get ( key ) ) ) ; str += ( " " + parameter ) + "\n" ; } str += STRING_2 ; return str ; }
org . junit . Assert . assertEquals ( expResult , result . toString ( ) )