METHOD_0 ( ) { java . lang . String IDENT_0 = STRING_0 ; java . lang . String IDENT_1 = STRING_1 ; org . nuxeo . ecm . core . api . IDENT_2 IDENT_3 = org . nuxeo . ecm . core . api . IDENT_4 . METHOD_1 ( IDENT_0 , STRING_2 , IDENT_1 ) ; IDENT_3 . METHOD_2 ( STRING_3 ) ; IDENT_3 . METHOD_3 ( STRING_4 ) ; java . io . ByteArrayOutputStream out = new java . io . ByteArrayOutputStream ( ) ; javax . servlet . http . IDENT_5 request = mock ( javax . servlet . http . IDENT_5 . class ) ; when ( request . METHOD_4 ( ) ) . thenReturn ( STRING_5 ) ; javax . servlet . http . IDENT_6 response = mock ( javax . servlet . http . IDENT_6 . class ) ; javax . servlet . IDENT_7 IDENT_8 = new org . nuxeo . ecm . core . io . IDENT_9 . IDENT_10 . METHOD_5 ( ) { @ org . nuxeo . ecm . core . io . IDENT_9 . Override public void write ( int b ) { out . write ( b ) ; } } ; java . io . IDENT_11 IDENT_12 = new java . io . METHOD_6 ( IDENT_8 ) ; when ( response . METHOD_7 ( ) ) . thenReturn ( IDENT_8 ) ; when ( response . METHOD_8 ( ) ) . thenReturn ( IDENT_12 ) ; IDENT_13 . METHOD_9 ( request , response , null , null , IDENT_3 , null , null ) ; "<AssertPlaceHolder>" ; } toString ( org . w3c . dom . Document ) { return org . nuxeo . common . IDENT_14 . IDENT_15 . toString ( doc , org . nuxeo . common . IDENT_14 . IDENT_15 . IDENT_16 ) ; }
org . junit . Assert . assertEquals ( IDENT_0 , out . toString ( IDENT_1 ) )