METHOD_0 ( ) { final java . lang . String URI = ( org . baeldung . web . test . IDENT_0 . IDENT_1 ) + STRING_0 ; final org . springframework . web . client . IDENT_2 IDENT_3 = new org . springframework . web . client . METHOD_1 ( ) ; final org . baeldung . web . dto . IDENT_4 resource = new org . baeldung . web . dto . METHOD_2 ( 4 , STRING_1 ) ; final org . springframework . http . IDENT_5 headers = new org . springframework . http . METHOD_3 ( ) ; headers . METHOD_4 ( java . util . Arrays . asList ( IDENT_6 . IDENT_7 ) ) ; headers . METHOD_5 ( IDENT_6 . IDENT_8 ) ; final org . springframework . http . IDENT_9 < org . baeldung . web . dto . METHOD_2 > entity = new org . springframework . http . IDENT_9 < org . baeldung . web . dto . METHOD_2 > ( resource , headers ) ; final org . springframework . http . IDENT_10 < org . baeldung . web . dto . METHOD_2 > response = IDENT_3 . METHOD_6 ( URI , IDENT_11 . IDENT_12 , entity , org . baeldung . web . dto . METHOD_2 . class , resource . getId ( ) ) ; final org . baeldung . web . dto . METHOD_2 IDENT_13 = response . METHOD_7 ( ) ; "<AssertPlaceHolder>" ; } getId ( ) { return id ; }
org . junit . Assert . assertEquals ( resource . getId ( ) , IDENT_13 . getId ( ) )