METHOD_0 ( ) { org . apache . jackrabbit . api . security . authentication . token . IDENT_0 tc = new org . apache . jackrabbit . api . security . authentication . token . METHOD_1 ( STRING_0 ) ; org . apache . jackrabbit . oak . spi . security . authentication . token . IDENT_1 IDENT_2 = org . mockito . Mockito . mock ( org . apache . jackrabbit . oak . spi . security . authentication . token . IDENT_1 . class ) ; org . apache . jackrabbit . oak . spi . security . authentication . token . IDENT_3 IDENT_4 = org . mockito . Mockito . mock ( org . apache . jackrabbit . oak . spi . security . authentication . token . IDENT_3 . class ) ; org . mockito . Mockito . when ( IDENT_2 . METHOD_2 ( org . mockito . Mockito . anyString ( ) ) ) . thenReturn ( IDENT_4 ) ; org . mockito . Mockito . when ( IDENT_4 . METHOD_3 ( org . mockito . Mockito . METHOD_4 ( ) ) ) . thenReturn ( false ) ; org . mockito . Mockito . when ( IDENT_4 . matches ( tc ) ) . thenReturn ( true ) ; org . apache . jackrabbit . oak . security . authentication . token . IDENT_5 auth = new org . apache . jackrabbit . oak . security . authentication . token . METHOD_5 ( IDENT_2 ) ; try { "<AssertPlaceHolder>" ; org . mockito . Mockito . verify ( IDENT_4 ) . METHOD_6 ( org . mockito . Mockito . METHOD_4 ( ) ) ; } catch ( javax . security . auth . IDENT_6 . IDENT_7 e ) { org . junit . Assert . fail ( e . getMessage ( ) ) ; } } METHOD_7 ( javax . jcr . IDENT_8 ) { if ( IDENT_9 instanceof javax . jcr . IDENT_10 ) { java . lang . String IDENT_11 = ( ( javax . jcr . IDENT_10 ) ( IDENT_9 ) ) . METHOD_8 ( ) ; return METHOD_9 ( IDENT_11 ) ; } else { throw new javax . security . auth . IDENT_6 . METHOD_10 ( STRING_1 ) ; } }
org . junit . Assert . assertTrue ( auth . METHOD_7 ( tc ) )