METHOD_0 ( ) { org . IDENT_0 . api . base . Collection IDENT_1 = org . IDENT_0 . api . IDENT_2 . METHOD_1 ( ( ( ( IDENT_3 ) + "/" ) + ( org . exist . IDENT_0 . IDENT_4 . IDENT_5 ) ) ) ; org . w3c . dom . Document doc = javax . xml . IDENT_6 . IDENT_7 . newInstance ( ) . METHOD_2 ( ) . parse ( java . nio . file . IDENT_8 . get ( IDENT_9 . METHOD_3 ( ) ) . METHOD_4 ( ) ) ; org . IDENT_0 . api . IDENT_10 . IDENT_11 resource = ( ( org . IDENT_0 . api . IDENT_10 . IDENT_11 ) ( IDENT_1 . METHOD_5 ( null , STRING_0 ) ) ) ; resource . METHOD_6 ( doc ) ; IDENT_1 . METHOD_7 ( resource ) ; resource = ( ( org . IDENT_0 . api . IDENT_10 . IDENT_11 ) ( IDENT_1 . getResource ( resource . getId ( ) ) ) ) ; "<AssertPlaceHolder>" ; org . w3c . dom . Node node = resource . METHOD_8 ( ) ; org . apache . xml . serialize . IDENT_12 format = new org . apache . xml . serialize . METHOD_9 ( ) ; format . METHOD_10 ( 0 ) ; format . METHOD_11 ( 5 ) ; format . METHOD_12 ( true ) ; try ( final org . exist . util . io . IDENT_13 out = new org . exist . util . io . METHOD_13 ( ) ) { org . apache . xml . serialize . IDENT_14 serializer = new org . apache . xml . serialize . METHOD_14 ( out , format ) ; if ( node instanceof org . w3c . dom . Document ) { serializer . serialize ( ( ( org . w3c . dom . Document ) ( node ) ) ) ; } else if ( node instanceof org . w3c . dom . Element ) { serializer . serialize ( ( ( org . w3c . dom . Element ) ( node ) ) ) ; } else { org . junit . Assert . fail ( ( STRING_1 + node ) ) ; } } } getId ( ) { return id ; }
org . junit . Assert . assertNotNull ( resource )