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 , com . IDENT_0 . IDENT_1 . IDENT_2 . client . IDENT_8 . IDENT_9 . IDENT_11 ) ; when ( delegate . METHOD_2 ( IDENT_7 ) ) . METHOD_3 ( new org . apache . IDENT_12 . METHOD_4 ( STRING_0 ) ) ; org . apache . hadoop . hive . IDENT_5 . api . IDENT_13 IDENT_14 = new org . apache . hadoop . hive . IDENT_5 . api . METHOD_5 ( STRING_1 ) ; when ( delegate . METHOD_6 ( com . IDENT_0 . IDENT_1 . IDENT_2 . client . IDENT_8 . IDENT_9 . IDENT_10 , com . IDENT_0 . IDENT_1 . IDENT_2 . client . IDENT_8 . IDENT_9 . IDENT_11 ) ) . METHOD_3 ( IDENT_14 ) ; try { IDENT_4 . METHOD_2 ( IDENT_7 ) ; org . junit . Assert . fail ( STRING_2 ) ; } catch ( org . apache . hadoop . hive . IDENT_5 . api . METHOD_5 e ) { "<AssertPlaceHolder>" ; } } METHOD_2 ( org . apache . hadoop . hive . IDENT_5 . api . METHOD_1 ) { org . apache . hadoop . hive . IDENT_5 . api . IDENT_15 table = client . METHOD_6 ( req . METHOD_7 ( ) , req . METHOD_8 ( ) ) ; return new org . apache . hadoop . hive . IDENT_5 . api . METHOD_9 ( table ) ; }
org . junit . Assert . assertThat ( e , org . hamcrest . CoreMatchers . is ( IDENT_14 ) )