METHOD_0 ( ) { com . eclipsesource . IDENT_0 . IDENT_1 . IDENT_2 IDENT_3 = mock ( com . eclipsesource . IDENT_0 . IDENT_1 . IDENT_2 . class ) ; com . eclipsesource . IDENT_0 . IDENT_4 object = new com . eclipsesource . IDENT_0 . METHOD_1 ( IDENT_0 ) ; object . add ( "name" , STRING_0 ) ; doReturn ( object ) . when ( IDENT_3 ) . METHOD_2 ( ) ; IDENT_0 . METHOD_3 ( IDENT_3 , STRING_1 , "foo" , new java . lang . Class < ? > [ 0 ] ) ; com . eclipsesource . IDENT_0 . METHOD_1 result = IDENT_0 . METHOD_4 ( STRING_2 ) ; "<AssertPlaceHolder>" ; result . close ( ) ; } getString ( java . lang . String ) { throw new java . lang . METHOD_5 ( ) ; }
org . junit . Assert . assertEquals ( STRING_0 , result . getString ( "name" ) )