METHOD_0 ( ) { org . IDENT_0 . IDENT_1 . core . domain . IDENT_2 . Node node = mock ( org . IDENT_0 . IDENT_1 . core . domain . IDENT_2 . Node . class ) ; when ( node . getId ( ) ) . thenReturn ( 1L ) ; java . util . List < org . IDENT_0 . IDENT_1 . core . domain . IDENT_2 . IDENT_3 > IDENT_4 = new java . util . ArrayList < org . IDENT_0 . IDENT_1 . core . domain . IDENT_2 . IDENT_3 > ( ) ; IDENT_4 . add ( new org . IDENT_0 . IDENT_1 . core . domain . IDENT_2 . METHOD_1 ( STRING_0 , STRING_1 ) ) ; when ( node . METHOD_2 ( ) ) . thenReturn ( IDENT_4 ) ; when ( node . METHOD_3 ( ) ) . thenReturn ( 1.0 ) ; when ( node . METHOD_4 ( ) ) . thenReturn ( 2.0 ) ; org . IDENT_0 . IDENT_1 . plugin . elasticsearch . model . entity . IDENT_5 expected = IDENT_5 . Builder . create ( ) . id ( 1L ) . location ( 1.0 , 2.0 ) . METHOD_5 ( STRING_0 , STRING_1 ) . build ( ) ; org . IDENT_0 . IDENT_1 . plugin . elasticsearch . model . entity . IDENT_5 actual = IDENT_5 . Builder . METHOD_6 ( node ) ; "<AssertPlaceHolder>" ; } METHOD_6 ( org . IDENT_0 . IDENT_1 . core . domain . IDENT_2 . Node ) { return new org . IDENT_0 . IDENT_1 . plugin . elasticsearch . model . entity . METHOD_7 ( node ) ; }
org . junit . Assert . assertEquals ( expected , actual )