METHOD_0 ( ) { final org . glassfish . jersey . server . IDENT_0 request = mock ( org . glassfish . jersey . server . IDENT_0 . class ) ; doReturn ( token ) . when ( IDENT_1 ) . METHOD_1 ( request ) ; doReturn ( null ) . when ( IDENT_1 ) . METHOD_2 ( request ) ; final com . IDENT_2 . IDENT_3 . IDENT_4 result = function . apply ( request ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( ) { try ( java . io . ByteArrayOutputStream IDENT_5 = new java . io . ByteArrayOutputStream ( ( ( com . IDENT_2 . IDENT_3 . Constants . IDENT_6 ) + ( METHOD_4 ( ) . length ) ) ) ) { METHOD_5 ( IDENT_5 ) ; return METHOD_6 ( ) . METHOD_7 ( IDENT_5 . toByteArray ( ) ) ; } catch ( final java . io . IOException e ) { throw new java . lang . IllegalStateException ( e . getMessage ( ) , e ) ; } }
org . junit . Assert . assertEquals ( token . METHOD_3 ( ) , result . METHOD_3 ( ) )