METHOD_0 ( ) { org . apache . jackrabbit . oak . api . IDENT_0 IDENT_1 = org . mockito . Mockito . mock ( org . apache . jackrabbit . oak . api . IDENT_0 . class ) ; when ( IDENT_1 . exists ( ) ) . thenReturn ( true ) ; when ( IDENT_1 . getName ( ) ) . thenReturn ( STRING_0 ) ; when ( IDENT_1 . METHOD_1 ( org . apache . jackrabbit . oak . spi . security . IDENT_2 . IDENT_3 ) ) . thenReturn ( true ) ; when ( IDENT_1 . getProperty ( org . apache . jackrabbit . oak . spi . security . IDENT_2 . IDENT_3 ) ) . thenReturn ( org . apache . jackrabbit . oak . plugins . IDENT_4 . IDENT_5 . METHOD_2 ( org . apache . jackrabbit . oak . spi . security . IDENT_2 . IDENT_3 , com . google . common . collect . ImmutableList . of ( org . apache . jackrabbit . oak . spi . security . IDENT_2 . IDENT_6 . IDENT_7 ) , Type . IDENT_8 ) ) ; org . apache . jackrabbit . oak . api . IDENT_9 IDENT_10 = org . apache . jackrabbit . oak . plugins . IDENT_4 . IDENT_5 . METHOD_2 ( org . apache . jackrabbit . oak . spi . security . IDENT_2 . IDENT_11 , java . lang . Long . valueOf ( INT_0 ) ) ; when ( IDENT_1 . getProperty ( org . apache . jackrabbit . oak . spi . security . IDENT_2 . IDENT_11 ) ) . thenReturn ( IDENT_10 ) ; when ( IDENT_12 . METHOD_3 ( ) ) . thenReturn ( com . google . common . collect . IDENT_13 . of ( IDENT_14 , IDENT_1 ) ) ; java . util . Set < java . lang . String > expected = com . google . common . collect . IDENT_13 . of ( STRING_0 ) ; java . util . Set < java . lang . String > result = IDENT_15 . METHOD_4 ( org . apache . jackrabbit . oak . spi . security . IDENT_2 . IDENT_16 . getInstance ( org . apache . jackrabbit . oak . spi . security . IDENT_2 . IDENT_16 . getInstance ( IDENT_17 ) , org . apache . jackrabbit . oak . spi . security . IDENT_2 . IDENT_16 . getInstance ( IDENT_10 ) ) ) ; "<AssertPlaceHolder>" ; } getInstance ( org . apache . jackrabbit . oak . spi . security . IDENT_2 . IDENT_16 [ ] ) { org . apache . jackrabbit . oak . spi . security . IDENT_2 . IDENT_16 IDENT_18 = org . apache . jackrabbit . oak . spi . security . IDENT_2 . IDENT_16 . getInstance ( ) ; for ( org . apache . jackrabbit . oak . spi . security . IDENT_2 . IDENT_16 IDENT_19 : base ) { IDENT_18 . add ( IDENT_19 ) ; } return IDENT_18 ; }
org . junit . Assert . assertEquals ( expected , result )