METHOD_0 ( ) { org . IDENT_0 . api . base . Collection collection = METHOD_1 ( ) ; org . IDENT_0 . api . base . IDENT_1 resource = collection . getResource ( STRING_0 ) ; "<AssertPlaceHolder>" ; } getResource ( long ) { if ( ( pos < 0 ) || ( pos >= ( resources . size ( ) ) ) ) { return null ; } final java . lang . Object r = resources . get ( ( ( int ) ( pos ) ) ) ; org . exist . IDENT_0 . IDENT_2 res = null ; if ( r instanceof org . exist . dom . IDENT_3 . IDENT_4 ) { final org . exist . dom . IDENT_3 . IDENT_4 p = ( ( org . exist . dom . IDENT_3 . IDENT_4 ) ( r ) ) ; org . exist . IDENT_0 . IDENT_5 IDENT_6 = collection ; if ( ( ( p . METHOD_2 ( ) . METHOD_1 ( ) ) == null ) || ( ! ( IDENT_6 . METHOD_3 ( ) . METHOD_4 ( ) . equals ( p . METHOD_2 ( ) . METHOD_1 ( ) . METHOD_5 ( ) ) ) ) ) { IDENT_6 = new org . exist . IDENT_0 . METHOD_6 ( user , IDENT_7 , null , p . METHOD_2 ( ) . METHOD_1 ( ) . METHOD_5 ( ) ) ; IDENT_6 . METHOD_7 ( IDENT_8 ) ; } res = new org . exist . IDENT_0 . METHOD_8 ( user , IDENT_7 , IDENT_6 , p ) ; } else if ( r instanceof org . w3c . dom . Node ) { res = new org . exist . IDENT_0 . METHOD_8 ( user , IDENT_7 , collection , IDENT_9 . IDENT_10 ) ; ( ( org . exist . IDENT_0 . METHOD_8 ) ( res ) ) . METHOD_9 ( ( ( org . w3c . dom . Node ) ( r ) ) ) ; } else if ( r instanceof org . exist . IDENT_0 . IDENT_11 ) { if ( r instanceof org . exist . IDENT_0 . IDENT_12 ) { final org . exist . IDENT_0 . IDENT_9 IDENT_13 ; if ( r instanceof org . exist . IDENT_0 . IDENT_14 ) { IDENT_13 = org . exist . IDENT_0 . Optional . METHOD_10 ( ( ( org . exist . IDENT_0 . IDENT_14 ) ( r ) ) . METHOD_11 ( ) ) . filter ( ( s ) -> ! ( s . isEmpty ( ) ) ) . map ( IDENT_9 :: create ) . METHOD_12 ( IDENT_9 . IDENT_10 ) ; } else { IDENT_13 = IDENT_9 . IDENT_10 ; } res = new org . exist . IDENT_0 . METHOD_13 ( user , IDENT_7 , collection , IDENT_13 ) ; } else { res = new org . exist . IDENT_0 . METHOD_8 ( user , IDENT_7 , collection , IDENT_9 . IDENT_10 ) ; } res . METHOD_14 ( r ) ; } else if ( r instanceof org . IDENT_0 . api . base . IDENT_1 ) { return ( ( org . IDENT_0 . api . base . IDENT_1 ) ( r ) ) ; } res . METHOD_7 ( IDENT_8 ) ; return res ; }
org . junit . Assert . assertNull ( resource )