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