METHOD_0 ( ) { java . lang . Class entity = org . springframework . data . elasticsearch . IDENT_0 . class ; IDENT_1 . METHOD_1 ( entity ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( java . lang . Class ) { org . springframework . data . elasticsearch . core . mapping . IDENT_2 < T > IDENT_3 = METHOD_3 ( clazz ) ; org . elasticsearch . action . admin . IDENT_4 . mapping . put . IDENT_5 IDENT_6 = client . admin ( ) . METHOD_4 ( ) . METHOD_5 ( IDENT_3 . METHOD_6 ( ) ) . METHOD_7 ( IDENT_3 . METHOD_8 ( ) ) ; try { org . elasticsearch . common . IDENT_7 . IDENT_8 IDENT_9 = org . springframework . data . elasticsearch . core . IDENT_10 . METHOD_9 ( clazz , IDENT_3 . METHOD_8 ( ) , IDENT_3 . METHOD_10 ( ) . METHOD_11 ( ) ) ; return IDENT_6 . METHOD_12 ( IDENT_9 ) . execute ( ) . METHOD_13 ( ) . METHOD_14 ( ) ; } catch ( java . lang . Exception e ) { throw new org . springframework . data . elasticsearch . METHOD_15 ( ( STRING_0 + ( clazz . METHOD_16 ( ) ) ) , e ) ; } }
org . junit . Assert . assertThat ( IDENT_1 . METHOD_2 ( entity ) , is ( true ) )