METHOD_0 ( ) { com . stratio . IDENT_0 . common . IDENT_1 . IDENT_2 . IDENT_3 IDENT_4 = mock ( com . stratio . IDENT_0 . common . IDENT_1 . IDENT_2 . IDENT_3 . class ) ; java . util . List < com . stratio . IDENT_0 . common . IDENT_1 . IDENT_2 . IDENT_5 > IDENT_6 = new java . util . ArrayList < com . stratio . IDENT_0 . common . IDENT_1 . IDENT_2 . IDENT_5 > ( ) ; com . stratio . IDENT_0 . common . IDENT_1 . IDENT_2 . IDENT_5 IDENT_7 = mock ( com . stratio . IDENT_0 . common . IDENT_1 . IDENT_2 . IDENT_5 . class ) ; com . stratio . IDENT_0 . common . data . IDENT_8 IDENT_9 = mock ( com . stratio . IDENT_0 . common . data . IDENT_8 . class ) ; com . stratio . IDENT_0 . common . IDENT_1 . IDENT_2 . IDENT_5 IDENT_10 = mock ( com . stratio . IDENT_0 . common . IDENT_1 . IDENT_2 . IDENT_5 . class ) ; IDENT_6 . add ( IDENT_7 ) ; IDENT_6 . add ( IDENT_10 ) ; com . stratio . IDENT_0 . common . IDENT_1 . IDENT_2 . IDENT_11 IDENT_12 = mock ( com . stratio . IDENT_0 . common . IDENT_1 . IDENT_2 . IDENT_11 . class ) ; when ( IDENT_4 . METHOD_1 ( ) ) . thenReturn ( STRING_0 ) ; when ( IDENT_4 . METHOD_2 ( ) ) . thenReturn ( IDENT_12 ) ; when ( IDENT_12 . METHOD_3 ( ) ) . thenReturn ( IDENT_6 ) ; when ( IDENT_7 . METHOD_4 ( ) ) . thenReturn ( IDENT_9 ) ; when ( IDENT_9 . getName ( ) ) . thenReturn ( STRING_1 ) ; when ( IDENT_10 . METHOD_5 ( ) ) . thenReturn ( STRING_2 ) ; "<AssertPlaceHolder>" ; } METHOD_6 ( com . stratio . IDENT_0 . common . IDENT_1 . IDENT_2 . IDENT_5 ) { if ( null == IDENT_7 ) { return null ; } if ( IDENT_7 instanceof com . stratio . IDENT_0 . common . IDENT_1 . IDENT_2 . IDENT_3 ) { return com . stratio . IDENT_13 . elasticsearch . core . engine . utils . IDENT_14 . METHOD_7 ( ( ( com . stratio . IDENT_0 . common . IDENT_1 . IDENT_2 . IDENT_3 ) ( IDENT_7 ) ) ) ; } if ( IDENT_7 instanceof com . stratio . IDENT_0 . common . IDENT_1 . IDENT_2 . IDENT_15 ) { return com . stratio . IDENT_13 . elasticsearch . core . engine . utils . IDENT_14 . METHOD_6 ( ( ( com . stratio . IDENT_0 . common . IDENT_1 . IDENT_2 . IDENT_15 ) ( IDENT_7 ) ) . METHOD_8 ( ) ) ; } return IDENT_7 . METHOD_4 ( ) . getName ( ) ; }
org . junit . Assert . assertEquals ( STRING_0 , com . stratio . IDENT_13 . elasticsearch . core . engine . utils . IDENT_14 . METHOD_6 ( IDENT_4 ) )