METHOD_0 ( ) { final org . exist . IDENT_0 . IDENT_1 IDENT_2 = org . exist . IDENT_0 . IDENT_1 . create ( STRING_0 ) ; final org . exist . IDENT_0 . IDENT_1 IDENT_3 = org . exist . IDENT_0 . IDENT_1 . create ( STRING_1 ) ; final org . exist . IDENT_0 . IDENT_1 IDENT_4 = org . exist . IDENT_0 . IDENT_1 . create ( STRING_2 ) ; final org . exist . collections . Collection IDENT_5 = org . easymock . EasyMock . METHOD_1 ( org . exist . collections . Collection . class ) ; final org . exist . security . IDENT_6 IDENT_7 = org . easymock . EasyMock . METHOD_1 ( org . exist . security . IDENT_6 . class ) ; final org . exist . dom . IDENT_8 . IDENT_9 IDENT_10 = org . easymock . EasyMock . METHOD_1 ( org . exist . dom . IDENT_8 . IDENT_9 . class ) ; final org . exist . security . IDENT_6 IDENT_11 = org . easymock . EasyMock . METHOD_1 ( org . exist . security . IDENT_6 . class ) ; final org . exist . collections . Collection IDENT_12 = org . easymock . EasyMock . METHOD_1 ( org . exist . collections . Collection . class ) ; final org . exist . security . IDENT_6 IDENT_13 = org . easymock . EasyMock . METHOD_1 ( org . exist . security . IDENT_6 . class ) ; final org . exist . collections . Collection IDENT_14 = org . easymock . EasyMock . METHOD_1 ( org . exist . collections . Collection . class ) ; final org . exist . security . IDENT_6 IDENT_15 = org . easymock . EasyMock . METHOD_1 ( org . exist . security . IDENT_6 . class ) ; final org . exist . storage . IDENT_16 IDENT_17 = org . easymock . EasyMock . METHOD_2 ( org . exist . storage . IDENT_16 . class ) . METHOD_3 ( STRING_3 ) . METHOD_3 ( STRING_4 ) . METHOD_1 ( ) ; final org . exist . security . IDENT_18 subject = org . easymock . EasyMock . METHOD_1 ( org . exist . security . IDENT_18 . class ) ; expect ( IDENT_5 . METHOD_4 ( ) ) . andReturn ( IDENT_7 ) ; expect ( IDENT_17 . METHOD_5 ( ) ) . andReturn ( subject ) ; expect ( IDENT_7 . validate ( subject , ( ( org . exist . security . IDENT_6 . IDENT_19 ) | ( org . exist . security . IDENT_6 . IDENT_20 ) ) ) ) . andReturn ( true ) ; expect ( IDENT_12 . METHOD_6 ( ) ) . andReturn ( IDENT_3 ) ; final org . easymock . IDENT_21 < org . exist . IDENT_0 . IDENT_1 > IDENT_22 = METHOD_7 ( ) ; expect ( IDENT_17 . METHOD_8 ( METHOD_9 ( IDENT_22 ) ) ) . andReturn ( IDENT_14 ) ; expect ( IDENT_12 . METHOD_4 ( ) ) . andReturn ( IDENT_13 ) ; expect ( IDENT_17 . METHOD_5 ( ) ) . andReturn ( subject ) ; expect ( IDENT_13 . validate ( subject , ( ( org . exist . security . IDENT_6 . IDENT_19 ) | ( org . exist . security . IDENT_6 . IDENT_23 ) ) ) ) . andReturn ( true ) ; expect ( IDENT_14 . METHOD_4 ( ) ) . andReturn ( IDENT_15 ) ; expect ( IDENT_17 . METHOD_5 ( ) ) . andReturn ( subject ) ; expect ( IDENT_15 . validate ( subject , ( ( org . exist . security . IDENT_6 . IDENT_19 ) | ( org . exist . security . IDENT_6 . IDENT_23 ) ) ) ) . andReturn ( true ) ; expect ( IDENT_5 . METHOD_10 ( IDENT_17 ) ) . andReturn ( new org . exist . storage . IDENT_24 . METHOD_11 ( IDENT_10 ) ) ; expect ( IDENT_10 . METHOD_12 ( ) ) . andReturn ( IDENT_11 ) ; expect ( IDENT_17 . METHOD_5 ( ) ) . andReturn ( subject ) ; expect ( IDENT_11 . validate ( subject , IDENT_6 . IDENT_20 ) ) . andReturn ( true ) ; expect ( IDENT_14 . isEmpty ( IDENT_17 ) ) . andReturn ( true ) ; expect ( IDENT_5 . METHOD_13 ( IDENT_17 ) ) . andReturn ( org . exist . storage . Collections . METHOD_14 ( ) ) ; replay ( IDENT_15 , IDENT_14 , IDENT_11 , IDENT_10 , IDENT_12 , IDENT_13 , IDENT_5 , IDENT_7 , subject , IDENT_17 ) ; IDENT_17 . METHOD_15 ( IDENT_5 , IDENT_12 , IDENT_4 ) ; verify ( IDENT_15 , IDENT_14 , IDENT_11 , IDENT_10 , IDENT_12 , IDENT_13 , IDENT_5 , IDENT_7 , subject , IDENT_17 ) ; "<AssertPlaceHolder>" ; } append ( java . lang . String ) { int IDENT_25 = 0 ; if ( ( IDENT_26 . charAt ( 0 ) ) == ( org . exist . collections . IDENT_27 . IDENT_28 ) ) { IDENT_25 = 1 ; } if ( ( uri ) == null ) { uri = new char [ ( ( IDENT_26 . length ( ) ) + 1 ) - IDENT_25 ] ; uri [ 0 ] = org . exist . collections . IDENT_27 . IDENT_28 ; IDENT_26 . METHOD_16 ( IDENT_25 , IDENT_26 . length ( ) , uri , 1 ) ; } else { char [ ] IDENT_29 = new char [ ( ( ( length ) + 1 ) + ( IDENT_26 . length ( ) ) ) - IDENT_25 ] ; java . lang . System . METHOD_17 ( uri , 0 , IDENT_29 , 0 , length ) ; IDENT_29 [ length ] = org . exist . collections . IDENT_27 . IDENT_28 ; IDENT_26 . METHOD_16 ( IDENT_25 , IDENT_26 . length ( ) , IDENT_29 , ( ( length ) + 1 ) ) ; uri = IDENT_29 ; } length += ( ( IDENT_26 . length ( ) ) + 1 ) - IDENT_25 ; hash = 0 ; }
org . junit . Assert . assertEquals ( IDENT_3 . append ( IDENT_4 ) , IDENT_22 . getValue ( ) )