METHOD_0 ( ) { org . apache . hadoop . hive . IDENT_0 . api . IDENT_1 response = new org . apache . hadoop . hive . IDENT_0 . api . METHOD_1 ( ) ; when ( IDENT_2 . METHOD_0 ( ) ) . thenReturn ( response ) ; org . apache . hadoop . hive . IDENT_0 . api . METHOD_1 result = handler . METHOD_0 ( ) ; "<AssertPlaceHolder>" ; } METHOD_0 ( ) { com . IDENT_3 . IDENT_4 . IDENT_5 . mapping . model . IDENT_6 mapping = IDENT_7 . METHOD_2 ( ) ; org . apache . hadoop . hive . IDENT_0 . api . METHOD_1 IDENT_8 = mapping . METHOD_3 ( ) . METHOD_0 ( ) ; if ( ( IDENT_8 . METHOD_4 ( ) ) != null ) { for ( org . apache . hadoop . hive . IDENT_0 . api . IDENT_9 function : IDENT_8 . METHOD_4 ( ) ) { mapping . METHOD_5 ( function ) ; } } return IDENT_8 ; }
org . junit . Assert . assertThat ( result , org . hamcrest . CoreMatchers . is ( response ) )