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 ) ; com . stratio . IDENT_0 . common . data . IDENT_5 IDENT_6 = mock ( com . stratio . IDENT_0 . common . data . IDENT_5 . class ) ; when ( IDENT_4 . METHOD_1 ( ) ) . thenReturn ( IDENT_6 ) ; when ( IDENT_6 . getName ( ) ) . thenReturn ( STRING_0 ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( com . stratio . IDENT_0 . common . IDENT_1 . IDENT_2 . IDENT_3 ) { if ( null == IDENT_4 ) { return null ; } if ( IDENT_4 instanceof com . stratio . IDENT_0 . common . IDENT_1 . IDENT_2 . IDENT_7 ) { return com . stratio . IDENT_8 . elasticsearch . core . engine . utils . IDENT_9 . METHOD_3 ( ( ( com . stratio . IDENT_0 . common . IDENT_1 . IDENT_2 . IDENT_7 ) ( IDENT_4 ) ) ) ; } if ( IDENT_4 instanceof com . stratio . IDENT_0 . common . IDENT_1 . IDENT_2 . IDENT_10 ) { return com . stratio . IDENT_8 . elasticsearch . core . engine . utils . IDENT_9 . METHOD_2 ( ( ( com . stratio . IDENT_0 . common . IDENT_1 . IDENT_2 . IDENT_10 ) ( IDENT_4 ) ) . METHOD_4 ( ) ) ; } return IDENT_4 . METHOD_1 ( ) . getName ( ) ; }
org . junit . Assert . assertEquals ( STRING_0 , com . stratio . IDENT_8 . elasticsearch . core . engine . utils . IDENT_9 . METHOD_2 ( IDENT_4 ) )