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