METHOD_0 ( ) { org . apache . hadoop . hive . IDENT_0 . api . IDENT_1 IDENT_2 = new org . apache . hadoop . hive . IDENT_0 . api . METHOD_1 ( ) ; org . apache . hadoop . hive . IDENT_0 . api . IDENT_3 IDENT_4 = new org . apache . hadoop . hive . IDENT_0 . api . METHOD_2 ( ) ; org . apache . hadoop . hive . IDENT_0 . api . METHOD_2 IDENT_5 = new org . apache . hadoop . hive . IDENT_0 . api . METHOD_2 ( ) ; when ( IDENT_6 . METHOD_3 ( com . IDENT_7 . IDENT_8 . IDENT_9 . server . IDENT_10 . IDENT_11 ) ) . thenReturn ( STRING_0 ) ; when ( IDENT_12 . METHOD_0 ( STRING_0 , STRING_1 , STRING_2 , IDENT_2 ) ) . thenReturn ( IDENT_4 ) ; when ( IDENT_6 . METHOD_4 ( IDENT_4 ) ) . thenReturn ( IDENT_5 ) ; org . apache . hadoop . hive . IDENT_0 . api . METHOD_2 result = handler . METHOD_0 ( com . IDENT_7 . IDENT_8 . IDENT_9 . server . IDENT_10 . IDENT_11 , STRING_1 , STRING_2 , IDENT_2 ) ; "<AssertPlaceHolder>" ; verify ( IDENT_6 ) . METHOD_5 ( com . IDENT_7 . IDENT_8 . IDENT_9 . server . IDENT_10 . IDENT_11 ) ; } METHOD_0 ( java . lang . String , java . lang . String , java . lang . String , org . apache . hadoop . hive . IDENT_0 . api . METHOD_1 ) { com . IDENT_7 . IDENT_8 . IDENT_9 . mapping . model . IDENT_13 mapping = METHOD_5 ( IDENT_14 ) ; org . apache . hadoop . hive . IDENT_0 . api . METHOD_2 IDENT_15 = mapping . METHOD_6 ( ) . METHOD_0 ( mapping . METHOD_3 ( IDENT_14 ) , IDENT_16 , IDENT_17 , IDENT_18 ) ; return mapping . METHOD_4 ( IDENT_15 ) ; }
org . junit . Assert . assertThat ( result , org . hamcrest . CoreMatchers . is ( IDENT_5 ) )