METHOD_0 ( ) { org . apache . hadoop . hive . IDENT_0 . IDENT_1 IDENT_2 = mock ( org . apache . hadoop . hive . IDENT_0 . IDENT_1 . class ) ; when ( IDENT_2 . METHOD_1 ( ) ) . thenReturn ( IDENT_3 . IDENT_4 ) ; IDENT_5 . IDENT_6 = IDENT_2 ; org . apache . hadoop . hive . IDENT_0 . session . IDENT_7 . start ( new org . apache . hadoop . hive . conf . METHOD_2 ( org . apache . hadoop . hive . IDENT_0 . exec . IDENT_8 . class ) ) ; org . apache . hadoop . hive . IDENT_0 . security . IDENT_9 IDENT_10 = mock ( org . apache . hadoop . hive . IDENT_0 . security . IDENT_9 . class ) ; when ( IDENT_10 . METHOD_3 ( ) ) . thenReturn ( STRING_0 ) ; org . apache . hadoop . hive . IDENT_0 . session . IDENT_7 . get ( ) . METHOD_4 ( IDENT_10 ) ; org . apache . hadoop . hive . IDENT_0 . session . IDENT_7 . get ( ) . METHOD_5 ( mock ( org . apache . hadoop . hive . IDENT_0 . security . authorization . IDENT_11 . class ) ) ; org . apache . hadoop . hive . IDENT_0 . exec . IDENT_12 IDENT_13 = METHOD_6 ( ) ; com . fasterxml . jackson . databind . IDENT_14 result = IDENT_15 . METHOD_7 ( IDENT_5 . METHOD_8 ( null , IDENT_13 ) . toString ( ) ) ; com . fasterxml . jackson . databind . IDENT_14 expected = IDENT_15 . METHOD_7 ( ( STRING_1 + STRING_2 ) ) ; "<AssertPlaceHolder>" ; } toString ( ) { return ( ( ( STRING_3 + ( IDENT_16 ) ) + STRING_4 ) + ( ( IDENT_17 ) == null ? STRING_5 : java . util . Arrays . toString ( IDENT_17 ) ) ) + STRING_6 ; }
org . junit . Assert . assertEquals ( expected , result )