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