METHOD_0 ( ) { org . baeldung . IDENT_0 . web . model . IDENT_1 IDENT_2 = new org . baeldung . IDENT_0 . web . model . METHOD_1 ( STRING_0 , STRING_1 ) ; org . mockito . Mockito . when ( IDENT_3 . METHOD_2 ( STRING_2 , org . baeldung . IDENT_0 . web . model . METHOD_1 . class ) ) . thenReturn ( new org . springframework . http . METHOD_3 ( IDENT_2 , org . springframework . http . IDENT_4 . IDENT_5 ) ) ; org . baeldung . IDENT_0 . web . model . METHOD_1 IDENT_6 = IDENT_7 . METHOD_4 ( STRING_0 ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( com . IDENT_8 . IDENT_9 . cache . IDENT_10 ) { org . springframework . data . IDENT_9 . IDENT_11 < java . lang . String , com . baeldung . IDENT_12 . data . IDENT_9 . model . METHOD_1 > IDENT_13 = new org . springframework . data . IDENT_9 . IDENT_11 < java . lang . String , com . baeldung . IDENT_12 . data . IDENT_9 . model . METHOD_1 > ( ) ; IDENT_13 . METHOD_5 ( cache ) ; IDENT_13 . METHOD_6 ( false ) ; IDENT_13 . setName ( STRING_3 ) ; IDENT_13 . METHOD_7 ( false ) ; IDENT_13 . METHOD_8 ( IDENT_14 . IDENT_15 ) ; return IDENT_13 ; }
org . junit . Assert . assertEquals ( IDENT_2 , IDENT_6 )