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