METHOD_0 ( ) { final java . lang . String expected = STRING_0 ; org . elasticsearch . common . IDENT_0 . IDENT_1 IDENT_2 = org . springframework . data . elasticsearch . core . IDENT_3 . METHOD_1 ( org . springframework . data . elasticsearch . entities . IDENT_4 . class , STRING_1 , STRING_2 , null ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( org . elasticsearch . common . IDENT_0 . IDENT_1 ) { builder . close ( ) ; java . io . ByteArrayOutputStream IDENT_5 = ( ( java . io . ByteArrayOutputStream ) ( builder . METHOD_3 ( ) ) ) ; return IDENT_5 . toString ( ) ; }
org . junit . Assert . assertThat ( METHOD_2 ( IDENT_2 ) , org . hamcrest . CoreMatchers . is ( expected ) )