METHOD_0 ( ) { io . IDENT_0 . IDENT_1 . api . IDENT_2 request = mock ( io . IDENT_0 . IDENT_1 . api . IDENT_2 . class ) ; io . IDENT_0 . common . http . IDENT_3 headers = new io . IDENT_0 . common . http . METHOD_1 ( ) ; headers . set ( STRING_0 , STRING_1 ) ; when ( request . headers ( ) ) . thenReturn ( headers ) ; io . IDENT_0 . IDENT_1 . security . core . IDENT_4 IDENT_5 = mock ( io . IDENT_0 . IDENT_1 . security . core . IDENT_4 . class ) ; when ( IDENT_5 . getId ( ) ) . thenReturn ( STRING_2 ) ; io . IDENT_0 . repository . management . model . IDENT_6 IDENT_7 = mock ( io . IDENT_0 . repository . management . model . IDENT_6 . class ) ; when ( IDENT_7 . METHOD_2 ( ) ) . thenReturn ( STRING_2 ) ; when ( IDENT_8 . METHOD_3 ( STRING_1 ) ) . thenReturn ( java . util . Optional . of ( IDENT_7 ) ) ; boolean IDENT_9 = IDENT_10 . METHOD_4 ( request , IDENT_5 ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( io . IDENT_0 . IDENT_1 . api . IDENT_2 , io . IDENT_0 . IDENT_1 . security . core . IDENT_4 ) { return true ; }
org . junit . Assert . assertTrue ( IDENT_9 )