METHOD_0 ( ) { final uk . gov . IDENT_0 . services . IDENT_1 . IDENT_2 IDENT_3 = mock ( uk . gov . IDENT_0 . services . IDENT_1 . IDENT_2 . class ) ; final java . lang . String component = STRING_0 ; when ( IDENT_4 . METHOD_1 ( component ) ) . thenReturn ( METHOD_2 ( ) ) ; when ( IDENT_5 . apply ( IDENT_3 ) ) . thenReturn ( null ) ; final uk . gov . IDENT_0 . services . core . interceptor . IDENT_6 IDENT_7 = new uk . gov . IDENT_0 . services . core . interceptor . METHOD_3 ( IDENT_4 , IDENT_5 , component ) ; final java . util . Optional < uk . gov . IDENT_0 . services . IDENT_1 . IDENT_2 > result = IDENT_7 . process ( IDENT_3 ) ; "<AssertPlaceHolder>" ; } process ( uk . gov . IDENT_0 . services . IDENT_1 . IDENT_2 ) { final uk . gov . IDENT_0 . services . core . interceptor . IDENT_8 context = uk . gov . IDENT_0 . services . core . interceptor . IDENT_8 . METHOD_4 ( IDENT_9 ) ; context . METHOD_5 ( STRING_0 , component ) ; return process ( context ) ; }
org . junit . Assert . assertThat ( result , org . hamcrest . core . Is . is ( java . util . Optional . empty ( ) ) )