METHOD_0 ( ) { org . apache . hadoop . hive . IDENT_0 . exec . IDENT_1 IDENT_2 = METHOD_1 ( ) ; when ( IDENT_2 . METHOD_2 ( ) ) . thenReturn ( true ) ; org . apache . hadoop . hive . IDENT_0 . exec . HashSet < org . apache . hadoop . hive . IDENT_0 . IDENT_3 . IDENT_4 > IDENT_5 = new org . apache . hadoop . hive . IDENT_0 . exec . HashSet ( ) ; org . apache . hadoop . hive . IDENT_0 . metadata . IDENT_6 table = mock ( org . apache . hadoop . hive . IDENT_0 . metadata . IDENT_6 . class ) ; when ( table . METHOD_3 ( ) ) . thenReturn ( STRING_0 ) ; when ( table . METHOD_4 ( ) ) . thenReturn ( IDENT_7 . IDENT_8 ) ; org . apache . hadoop . hive . IDENT_0 . IDENT_3 . IDENT_4 IDENT_9 = mock ( org . apache . hadoop . hive . IDENT_0 . IDENT_3 . IDENT_4 . class ) ; when ( IDENT_9 . getType ( ) ) . thenReturn ( Entity . Type . IDENT_10 ) ; when ( IDENT_9 . METHOD_5 ( ) ) . thenReturn ( table ) ; IDENT_5 . add ( IDENT_9 ) ; org . apache . hadoop . hive . IDENT_0 . metadata . IDENT_11 IDENT_12 = mock ( org . apache . hadoop . hive . IDENT_0 . metadata . IDENT_11 . class ) ; when ( IDENT_12 . METHOD_3 ( ) ) . thenReturn ( STRING_1 ) ; org . apache . hadoop . hive . IDENT_0 . IDENT_3 . IDENT_4 IDENT_13 = mock ( org . apache . hadoop . hive . IDENT_0 . IDENT_3 . IDENT_4 . class ) ; when ( IDENT_13 . getType ( ) ) . thenReturn ( Entity . Type . IDENT_14 ) ; when ( IDENT_13 . METHOD_6 ( ) ) . thenReturn ( IDENT_12 ) ; IDENT_5 . add ( IDENT_13 ) ; when ( IDENT_2 . METHOD_7 ( ) ) . thenReturn ( IDENT_5 ) ; com . fasterxml . jackson . databind . IDENT_15 result = IDENT_16 . METHOD_8 ( org . apache . hadoop . hive . IDENT_0 . exec . IDENT_17 . METHOD_9 ( IDENT_2 ) . toString ( ) ) ; com . fasterxml . jackson . databind . IDENT_15 expected = IDENT_16 . METHOD_8 ( ( STRING_2 + ( STRING_3 + STRING_4 ) ) ) ; "<AssertPlaceHolder>" ; } toString ( ) { return ( ( ( STRING_5 + ( IDENT_18 ) ) + STRING_6 ) + ( ( IDENT_19 ) == null ? STRING_7 : java . util . Arrays . toString ( IDENT_19 ) ) ) + STRING_8 ; }
org . junit . Assert . assertEquals ( expected , result )