METHOD_0 ( ) { java . lang . String [ ] IDENT_0 = new java . lang . String [ ] { STRING_0 } ; java . lang . String [ ] IDENT_1 = new java . lang . String [ ] { "value" } ; when ( IDENT_2 . METHOD_1 ( STRING_1 , null ) ) . thenReturn ( IDENT_1 ) ; java . lang . String [ ] values = IDENT_3 . METHOD_1 ( STRING_2 , IDENT_0 ) ; "<AssertPlaceHolder>" ; METHOD_2 ( STRING_2 , STRING_1 ) ; } METHOD_1 ( org . elasticsearch . search . IDENT_4 , java . lang . String ) { java . util . List < java . lang . String > values = new java . util . ArrayList ( ) ; for ( org . elasticsearch . search . IDENT_5 IDENT_6 : IDENT_7 . METHOD_3 ( ) ) { org . elasticsearch . common . document . IDENT_8 IDENT_9 = IDENT_6 . field ( field ) ; java . lang . String value = IDENT_9 . getValue ( ) ; values . add ( value ) ; } return values ; }
org . junit . Assert . assertArrayEquals ( IDENT_1 , values )