METHOD_0 ( ) { when ( IDENT_0 . METHOD_1 ( org . IDENT_1 . IDENT_2 . IDENT_3 . controller . IDENT_4 . IDENT_5 ) ) . thenReturn ( org . IDENT_1 . IDENT_2 . IDENT_3 . controller . Optional . empty ( ) ) ; org . springframework . http . IDENT_6 < org . IDENT_1 . IDENT_2 . rest . api . component . IDENT_7 > result = IDENT_8 . METHOD_2 ( org . IDENT_1 . IDENT_2 . IDENT_3 . controller . IDENT_4 . IDENT_5 ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( java . lang . String ) { return org . IDENT_1 . IDENT_2 . IDENT_3 . controller . IDENT_9 . METHOD_3 ( ( ) -> IDENT_10 . METHOD_1 ( IDENT_11 ) . map ( org . springframework . http . IDENT_6 :: IDENT_12 ) . METHOD_4 ( ( ) -> new org . IDENT_1 . IDENT_2 . IDENT_3 . controller . IDENT_6 < > ( IDENT_13 . IDENT_14 ) ) ) ; }
org . junit . Assert . assertEquals ( IDENT_13 . IDENT_14 , result . getStatusCode ( ) )