METHOD_0 ( ) { com . IDENT_0 . IDENT_1 . IDENT_2 . client . IDENT_3 IDENT_4 = factory . newInstance ( delegate ) ; org . apache . hadoop . hive . IDENT_5 . api . IDENT_6 IDENT_7 = new org . apache . hadoop . hive . IDENT_5 . api . METHOD_1 ( com . IDENT_0 . IDENT_1 . IDENT_2 . client . IDENT_8 . IDENT_9 . IDENT_10 ) ; IDENT_7 . METHOD_2 ( com . IDENT_0 . IDENT_1 . IDENT_2 . client . IDENT_8 . IDENT_9 . IDENT_11 ) ; when ( delegate . METHOD_0 ( IDENT_7 ) ) . METHOD_3 ( new org . apache . IDENT_12 . METHOD_4 ( STRING_0 ) ) ; when ( delegate . METHOD_5 ( com . IDENT_0 . IDENT_1 . IDENT_2 . client . IDENT_8 . IDENT_9 . IDENT_10 , com . google . common . collect . Lists . newArrayList ( com . IDENT_0 . IDENT_1 . IDENT_2 . client . IDENT_8 . IDENT_9 . IDENT_11 ) ) ) . thenReturn ( com . google . common . collect . Lists . newArrayList ( table ) ) ; org . apache . hadoop . hive . IDENT_5 . api . IDENT_13 IDENT_14 = IDENT_4 . METHOD_0 ( IDENT_7 ) ; "<AssertPlaceHolder>" ; } METHOD_0 ( org . apache . hadoop . hive . IDENT_5 . api . METHOD_1 ) { java . util . List < org . apache . hadoop . hive . IDENT_5 . api . IDENT_15 > IDENT_16 = client . METHOD_5 ( req . METHOD_6 ( ) , req . METHOD_7 ( ) ) ; return new org . apache . hadoop . hive . IDENT_5 . api . METHOD_8 ( IDENT_16 ) ; }
org . junit . Assert . assertThat ( IDENT_14 , org . hamcrest . CoreMatchers . is ( new org . apache . hadoop . hive . IDENT_5 . api . METHOD_8 ( com . google . common . collect . Lists . newArrayList ( table ) ) ) )