METHOD_0 ( ) { org . IDENT_0 . IDENT_1 . plugin . elasticsearch . model . entity . IDENT_2 node = IDENT_2 . Builder . create ( ) . id ( 1L ) . location ( 1.0 , 2.0 ) . METHOD_1 ( STRING_0 , STRING_1 ) . build ( ) ; java . lang . String expected = STRING_2 + STRING_3 ; java . lang . String actual = node . METHOD_0 ( ) ; "<AssertPlaceHolder>" ; } METHOD_0 ( ) { org . elasticsearch . common . IDENT_3 . IDENT_4 builder = null ; try { builder = METHOD_2 ( ) ; builder . METHOD_3 ( ) ; org . IDENT_0 . IDENT_1 . plugin . elasticsearch . model . IDENT_5 . IDENT_6 IDENT_7 = IDENT_5 . METHOD_4 ( ) ; builder . field ( STRING_4 , new double [ ] { IDENT_7 . METHOD_5 ( ) , IDENT_7 . METHOD_6 ( ) } ) ; builder . field ( STRING_5 , IDENT_5 . METHOD_7 ( ) ) ; builder . field ( STRING_6 , IDENT_5 . METHOD_8 ( ) ) ; builder . METHOD_3 ( STRING_7 ) ; builder . field ( STRING_8 , ( IDENT_5 . METHOD_9 ( ) ? STRING_9 : STRING_10 ) ) ; builder . METHOD_10 ( STRING_11 ) ; if ( IDENT_5 . METHOD_9 ( ) ) builder . METHOD_10 ( ) ; for ( double [ ] location : IDENT_5 . METHOD_11 ( ) ) { builder . METHOD_10 ( ) . value ( location [ 0 ] ) . value ( location [ 1 ] ) . METHOD_12 ( ) ; } if ( IDENT_5 . METHOD_9 ( ) ) builder . METHOD_12 ( ) ; builder . METHOD_12 ( ) ; builder . METHOD_13 ( ) ; builder . field ( STRING_12 , METHOD_14 ( ) ) ; builder . METHOD_13 ( ) ; return builder . string ( ) ; } catch ( java . io . IOException e ) { throw new java . lang . RuntimeException ( STRING_13 , e ) ; } finally { if ( builder != null ) builder . close ( ) ; } }
org . junit . Assert . assertEquals ( expected , actual )