METHOD_0 ( ) { converter = new io . IDENT_0 . connect . elasticsearch . METHOD_1 ( true , io . IDENT_0 . connect . elasticsearch . METHOD_1 . IDENT_1 . IDENT_2 ) ; key = null ; org . apache . kafka . connect . IDENT_3 . IDENT_4 IDENT_5 = METHOD_2 ( null ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( org . apache . kafka . connect . IDENT_3 . IDENT_4 , java . lang . String , java . lang . String , boolean , boolean ) { if ( ( record . value ( ) ) == null ) { switch ( IDENT_6 ) { case IDENT_7 : return null ; case IDENT_2 : if ( ( record . key ( ) ) == null ) { return null ; } break ; case IDENT_8 : throw new org . apache . kafka . connect . errors . METHOD_4 ( java . lang . String . format ( ( STRING_0 + ( STRING_1 + STRING_2 ) ) , record . key ( ) , record . METHOD_5 ( ) , record . METHOD_6 ( ) , record . METHOD_7 ( ) , IDENT_9 . IDENT_10 , io . IDENT_0 . connect . elasticsearch . METHOD_1 . IDENT_1 . IDENT_8 , io . IDENT_0 . connect . elasticsearch . METHOD_1 . IDENT_1 . IDENT_7 ) ) ; default : throw new java . lang . RuntimeException ( java . lang . String . format ( STRING_3 , io . IDENT_0 . connect . elasticsearch . METHOD_1 . IDENT_1 . class . METHOD_8 ( ) , IDENT_6 ) ) ; } } final java . lang . String id ; if ( IDENT_11 ) { id = ( ( ( ( record . METHOD_5 ( ) ) + STRING_4 ) + ( java . lang . String . valueOf ( ( ( int ) ( record . METHOD_6 ( ) ) ) ) ) ) + STRING_4 ) + ( java . lang . String . valueOf ( record . METHOD_7 ( ) ) ) ; } else { id = METHOD_9 ( record . METHOD_10 ( ) , record . key ( ) ) ; } final java . lang . String payload = METHOD_11 ( record , IDENT_12 ) ; final java . lang . Long version = ( IDENT_11 ) ? null : record . METHOD_7 ( ) ; return new io . IDENT_0 . connect . elasticsearch . METHOD_12 ( new io . IDENT_0 . connect . elasticsearch . METHOD_13 ( index , type , id ) , payload , version ) ; }
org . junit . Assert . assertNull ( converter . METHOD_3 ( IDENT_5 , index , type , false , false ) )