METHOD_0 ( ) { org . apache . jackrabbit . oak . plugins . document . IDENT_0 . IDENT_1 store = new org . apache . jackrabbit . oak . plugins . document . IDENT_0 . METHOD_1 ( ) ; org . apache . jackrabbit . oak . plugins . document . IDENT_2 IDENT_3 = IDENT_4 . METHOD_2 ( ) . METHOD_3 ( 0 ) . METHOD_4 ( store ) . METHOD_5 ( 1 ) . METHOD_6 ( ) ; java . lang . String IDENT_5 = STRING_0 ; org . apache . jackrabbit . oak . plugins . IDENT_6 . IDENT_7 . setId ( IDENT_3 , IDENT_5 ) ; IDENT_3 . METHOD_7 ( ) ; java . lang . String id = org . apache . jackrabbit . oak . spi . cluster . IDENT_8 . METHOD_8 ( IDENT_3 ) ; "<AssertPlaceHolder>" ; } METHOD_8 ( org . apache . jackrabbit . oak . spi . state . IDENT_9 ) { METHOD_9 ( store , STRING_1 ) ; org . apache . jackrabbit . oak . spi . state . IDENT_10 root = store . METHOD_10 ( ) ; org . apache . jackrabbit . oak . spi . state . IDENT_10 node = root . METHOD_11 ( org . apache . jackrabbit . oak . spi . cluster . IDENT_8 . IDENT_11 ) ; if ( ( node . exists ( ) ) && ( node . METHOD_12 ( org . apache . jackrabbit . oak . spi . cluster . IDENT_8 . IDENT_12 ) ) ) { return node . getProperty ( org . apache . jackrabbit . oak . spi . cluster . IDENT_8 . IDENT_12 ) . getValue ( Type . IDENT_13 ) ; } org . apache . jackrabbit . oak . spi . state . IDENT_14 builder = root . builder ( ) ; java . lang . String IDENT_15 = java . util . UUID . METHOD_13 ( ) . toString ( ) ; builder . child ( org . apache . jackrabbit . oak . spi . cluster . IDENT_8 . IDENT_11 ) . setProperty ( org . apache . jackrabbit . oak . spi . cluster . IDENT_8 . IDENT_12 , IDENT_15 ) ; try { store . METHOD_14 ( builder , IDENT_16 . INSTANCE , IDENT_17 . IDENT_18 ) ; org . apache . jackrabbit . oak . spi . cluster . IDENT_8 . log . info ( ( STRING_2 + IDENT_15 ) ) ; return IDENT_15 ; } catch ( org . apache . jackrabbit . oak . api . IDENT_19 e ) { root = store . METHOD_10 ( ) ; node = root . METHOD_11 ( org . apache . jackrabbit . oak . spi . cluster . IDENT_8 . IDENT_11 ) ; if ( ( node . exists ( ) ) && ( node . METHOD_12 ( org . apache . jackrabbit . oak . spi . cluster . IDENT_8 . IDENT_12 ) ) ) { return node . getProperty ( org . apache . jackrabbit . oak . spi . cluster . IDENT_8 . IDENT_12 ) . getValue ( Type . IDENT_13 ) ; } java . lang . String path = ( ( "/" + ( org . apache . jackrabbit . oak . spi . cluster . IDENT_8 . IDENT_11 ) ) + "/" ) + ( org . apache . jackrabbit . oak . spi . cluster . IDENT_8 . IDENT_12 ) ; org . apache . jackrabbit . oak . spi . cluster . IDENT_8 . log . error ( ( ( STRING_3 + path ) + STRING_4 ) ) ; throw new java . lang . IllegalStateException ( ( ( STRING_5 + path ) + STRING_6 ) ) ; } }
org . junit . Assert . assertEquals ( id , IDENT_5 )