METHOD_0 ( ) { org . nuxeo . ecm . IDENT_0 . IDENT_1 auth = new org . nuxeo . ecm . IDENT_0 . METHOD_1 ( ) ; javax . servlet . http . IDENT_2 request = mock ( javax . servlet . http . IDENT_2 . class ) ; javax . servlet . http . IDENT_3 response = mock ( javax . servlet . http . IDENT_3 . class ) ; when ( request . METHOD_2 ( eq ( javax . ws . rs . core . IDENT_4 . IDENT_5 ) ) ) . thenReturn ( ( ( org . nuxeo . ecm . IDENT_0 . IDENT_6 . IDENT_7 ) + STRING_0 ) ) ; org . nuxeo . ecm . platform . api . IDENT_8 . IDENT_9 IDENT_10 = auth . METHOD_3 ( request , response ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( javax . servlet . http . IDENT_2 , javax . servlet . http . IDENT_3 ) { java . lang . String IDENT_11 = METHOD_4 ( request ) ; if ( IDENT_11 == null ) { org . nuxeo . ecm . platform . IDENT_12 . IDENT_13 . log . trace ( STRING_1 ) ; return null ; } org . nuxeo . ecm . platform . IDENT_12 . tokens . IDENT_14 token = org . nuxeo . runtime . transaction . IDENT_15 . METHOD_5 ( ( ) -> IDENT_16 . METHOD_6 ( IDENT_11 ) ) ; org . nuxeo . ecm . platform . IDENT_12 . IDENT_17 . IDENT_18 IDENT_19 = org . nuxeo . runtime . api . IDENT_20 . METHOD_7 ( org . nuxeo . ecm . platform . IDENT_12 . IDENT_17 . IDENT_18 . class ) ; if ( token == null ) { org . nuxeo . ecm . platform . IDENT_12 . IDENT_13 . log . trace ( STRING_2 ) ; return null ; } if ( token . METHOD_8 ( ) ) { org . nuxeo . ecm . platform . IDENT_12 . IDENT_13 . log . trace ( STRING_3 ) ; return null ; } if ( ! ( IDENT_19 . METHOD_9 ( token . METHOD_10 ( ) ) ) ) { if ( org . nuxeo . ecm . platform . IDENT_12 . IDENT_13 . log . METHOD_11 ( ) ) { org . nuxeo . ecm . platform . IDENT_12 . IDENT_13 . log . trace ( ( STRING_4 + ( token . METHOD_10 ( ) ) ) ) ; } return null ; } java . lang . String IDENT_21 = token . METHOD_12 ( ) ; org . nuxeo . ecm . platform . IDENT_12 . IDENT_13 . log . trace ( ( STRING_5 + IDENT_21 ) ) ; return new org . nuxeo . ecm . platform . api . IDENT_8 . METHOD_13 ( IDENT_21 , IDENT_21 ) ; }
org . junit . Assert . assertNull ( IDENT_10 )