METHOD_0 ( ) { java . util . Set < javax . jcr . IDENT_0 > IDENT_1 = java . util . Collections . METHOD_1 ( new javax . jcr . METHOD_2 ( STRING_0 , new char [ 0 ] ) ) ; final javax . security . auth . IDENT_2 subject = new javax . security . auth . METHOD_3 ( true , java . util . Collections . METHOD_1 ( new org . apache . jackrabbit . oak . spi . security . authentication . IDENT_3 . METHOD_4 ( ) ) , IDENT_1 , java . util . Collections . < java . lang . Object > METHOD_5 ( ) ) ; org . apache . jackrabbit . oak . api . IDENT_4 cs = javax . security . auth . METHOD_3 . METHOD_6 ( subject , new java . security . IDENT_5 < org . apache . jackrabbit . oak . api . IDENT_4 > ( ) { @ org . apache . jackrabbit . oak . spi . security . authentication . Override public org . apache . jackrabbit . oak . api . IDENT_4 run ( ) { try { return METHOD_7 ( null ) ; } catch ( java . lang . Exception e ) { return null ; } } } , null ) ; try { "<AssertPlaceHolder>" ; } finally { if ( cs != null ) { cs . close ( ) ; } } } METHOD_8 ( ) { METHOD_9 ( ) ; java . util . Set < org . apache . jackrabbit . oak . api . IDENT_6 > IDENT_7 = IDENT_8 . METHOD_10 ( ) . METHOD_11 ( org . apache . jackrabbit . oak . api . IDENT_6 . class ) ; if ( IDENT_7 . isEmpty ( ) ) { return org . apache . jackrabbit . oak . api . IDENT_6 . IDENT_9 ; } else { return IDENT_7 . iterator ( ) . next ( ) ; } }
org . junit . Assert . assertSame ( IDENT_6 . IDENT_9 , cs . METHOD_8 ( ) )