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