METHOD_0 ( ) { final com . IDENT_0 . db . repository . elasticsearch . Person save = repository . save ( com . IDENT_0 . db . repository . elasticsearch . IDENT_1 . IDENT_2 ) ; "<AssertPlaceHolder>" ; repository . delete ( save ) ; } METHOD_1 ( java . lang . String ) { final org . elasticsearch . action . get . IDENT_3 response = client . METHOD_2 ( index , type , id ) . METHOD_3 ( true ) . execute ( ) . METHOD_4 ( ) ; final java . lang . String json = response . METHOD_5 ( ) ; return METHOD_6 ( json ) . map ( IDENT_4 ) . map ( ( e ) -> ( ( com . IDENT_0 . db . repository . elasticsearch . T ) ( e . METHOD_7 ( id ) ) ) ) ; }
org . junit . Assert . assertEquals ( save , repository . METHOD_1 ( save . getId ( ) ) . get ( ) )