METHOD_0 ( ) { "<AssertPlaceHolder>" ; dao . METHOD_1 ( ) ; } METHOD_2 ( com . IDENT_0 . entity . Document ) { try { org . elasticsearch . action . index . IDENT_1 request = new org . elasticsearch . action . index . METHOD_3 ( props . METHOD_4 ( ) . getName ( ) , props . METHOD_4 ( ) . getType ( ) ) ; request . source ( gson . METHOD_5 ( document ) , IDENT_2 . IDENT_3 ) ; org . elasticsearch . action . index . IDENT_4 response = client . index ( request ) ; return response . getId ( ) ; } catch ( java . lang . Exception ex ) { log . error ( STRING_0 , ex ) ; } return null ; }
org . junit . Assert . assertNotNull ( dao . METHOD_2 ( doc ) )