METHOD_0 ( ) { org . apache . hadoop . hive . IDENT_0 . api . IDENT_1 IDENT_2 = new org . apache . hadoop . hive . IDENT_0 . api . METHOD_1 ( ) ; IDENT_2 . METHOD_2 ( com . IDENT_3 . IDENT_4 . IDENT_5 . server . IDENT_6 . IDENT_7 ) ; org . apache . hadoop . hive . IDENT_0 . api . METHOD_1 IDENT_8 = new org . apache . hadoop . hive . IDENT_0 . api . METHOD_1 ( ) ; IDENT_8 . METHOD_2 ( com . IDENT_3 . IDENT_4 . IDENT_5 . server . IDENT_6 . IDENT_7 ) ; java . util . List < org . apache . hadoop . hive . IDENT_0 . api . METHOD_1 > IDENT_9 = com . google . common . collect . Lists . newArrayList ( IDENT_2 , IDENT_8 ) ; org . apache . hadoop . hive . IDENT_0 . api . IDENT_10 request = new org . apache . hadoop . hive . IDENT_0 . api . METHOD_3 ( ) ; request . METHOD_2 ( com . IDENT_3 . IDENT_4 . IDENT_5 . server . IDENT_6 . IDENT_7 ) ; request . METHOD_4 ( IDENT_9 ) ; org . apache . hadoop . hive . IDENT_0 . api . METHOD_3 IDENT_11 = new org . apache . hadoop . hive . IDENT_0 . api . METHOD_3 ( ) ; org . apache . hadoop . hive . IDENT_0 . api . IDENT_12 IDENT_13 = new org . apache . hadoop . hive . IDENT_0 . api . METHOD_5 ( ) ; org . apache . hadoop . hive . IDENT_0 . api . METHOD_5 IDENT_14 = new org . apache . hadoop . hive . IDENT_0 . api . METHOD_5 ( ) ; when ( IDENT_15 . METHOD_6 ( request ) ) . thenReturn ( IDENT_11 ) ; when ( IDENT_16 . METHOD_0 ( IDENT_11 ) ) . thenReturn ( IDENT_13 ) ; when ( IDENT_15 . METHOD_7 ( IDENT_13 ) ) . thenReturn ( IDENT_14 ) ; org . apache . hadoop . hive . IDENT_0 . api . METHOD_5 result = handler . METHOD_0 ( request ) ; "<AssertPlaceHolder>" ; verify ( IDENT_15 , times ( 3 ) ) . METHOD_8 ( com . IDENT_3 . IDENT_4 . IDENT_5 . server . IDENT_6 . IDENT_7 ) ; } METHOD_0 ( org . apache . hadoop . hive . IDENT_0 . api . METHOD_3 ) { com . IDENT_3 . IDENT_4 . IDENT_5 . mapping . model . IDENT_17 mapping = METHOD_8 ( request . METHOD_9 ( ) ) ; for ( org . apache . hadoop . hive . IDENT_0 . api . METHOD_1 IDENT_18 : request . METHOD_10 ( ) ) { mapping . METHOD_8 ( IDENT_18 . METHOD_9 ( ) ) ; } org . apache . hadoop . hive . IDENT_0 . api . METHOD_5 result = mapping . METHOD_11 ( ) . METHOD_0 ( mapping . METHOD_6 ( request ) ) ; return mapping . METHOD_7 ( result ) ; }
org . junit . Assert . assertThat ( result , org . hamcrest . CoreMatchers . is ( IDENT_14 ) )