METHOD_0 ( ) { java . util . Map < java . lang . String , java . util . Collection < java . lang . String > > update = new java . util . HashMap ( ) ; update . put ( org . apache . IDENT_0 . service . IDENT_1 . IDENT_2 . IDENT_3 . toLowerCase ( ) , java . util . Collections . METHOD_1 ( org . apache . IDENT_0 . service . IDENT_1 . IDENT_2 . IDENT_4 ) ) ; java . util . Set < java . lang . String > IDENT_5 = new java . util . HashSet ( 1 ) ; IDENT_5 . add ( org . apache . IDENT_0 . service . IDENT_1 . IDENT_2 . IDENT_4 ) ; update . put ( org . apache . IDENT_0 . service . IDENT_1 . IDENT_2 . IDENT_6 , IDENT_5 ) ; org . apache . hadoop . hive . IDENT_7 . api . IDENT_8 event = new org . apache . hadoop . hive . IDENT_7 . api . METHOD_2 ( 0 , 0 , org . apache . IDENT_0 . service . IDENT_1 . IDENT_9 . toString ( ) , "" ) ; event . METHOD_3 ( org . apache . IDENT_0 . service . IDENT_1 . IDENT_2 . IDENT_3 ) ; event . METHOD_4 ( org . apache . IDENT_0 . service . IDENT_1 . IDENT_2 . IDENT_10 ) ; java . lang . String IDENT_11 = STRING_0 ; java . lang . String IDENT_12 = org . apache . IDENT_0 . service . IDENT_1 . IDENT_2 . uri ( IDENT_11 ) ; org . apache . hadoop . hive . IDENT_7 . IDENT_13 . IDENT_14 IDENT_15 = org . mockito . Mockito . mock ( org . apache . IDENT_0 . binding . IDENT_7 . IDENT_13 . json . IDENT_16 . class ) ; org . apache . hadoop . hive . IDENT_7 . api . IDENT_17 IDENT_18 = org . apache . IDENT_0 . service . IDENT_1 . IDENT_2 . METHOD_5 ( org . apache . IDENT_0 . service . IDENT_1 . IDENT_2 . IDENT_3 , org . apache . IDENT_0 . service . IDENT_1 . IDENT_2 . IDENT_10 , IDENT_12 ) ; org . apache . IDENT_0 . binding . IDENT_7 . IDENT_13 . json . IDENT_19 message = new org . apache . IDENT_0 . binding . IDENT_7 . IDENT_13 . json . METHOD_6 ( org . apache . IDENT_0 . service . IDENT_1 . IDENT_2 . IDENT_20 , org . apache . IDENT_0 . service . IDENT_1 . IDENT_2 . IDENT_21 , org . apache . IDENT_0 . service . IDENT_1 . IDENT_2 . IDENT_22 , IDENT_18 , 0L ) ; org . mockito . Mockito . when ( IDENT_15 . METHOD_7 ( "" ) ) . thenReturn ( message ) ; org . apache . IDENT_0 . service . IDENT_1 . IDENT_23 . METHOD_8 ( update , event , IDENT_15 ) ; java . util . Map < java . lang . String , java . util . Set < java . lang . String > > expected = new java . util . HashMap ( 2 ) ; expected . put ( org . apache . IDENT_0 . service . IDENT_1 . IDENT_2 . IDENT_3 . toLowerCase ( ) , java . util . Collections . METHOD_1 ( org . apache . IDENT_0 . service . IDENT_1 . IDENT_2 . IDENT_4 ) ) ; expected . put ( org . apache . IDENT_0 . service . IDENT_1 . IDENT_2 . IDENT_6 . toLowerCase ( ) , java . util . Collections . METHOD_1 ( IDENT_11 ) ) ; "<AssertPlaceHolder>" ; } METHOD_8 ( java . util . Map , org . apache . hadoop . hive . IDENT_7 . api . METHOD_2 , org . apache . hadoop . hive . IDENT_7 . IDENT_13 . IDENT_14 ) { org . apache . hadoop . hive . IDENT_7 . IDENT_13 . IDENT_24 . IDENT_25 IDENT_26 = IDENT_24 . IDENT_25 . valueOf ( event . METHOD_9 ( ) ) ; switch ( IDENT_26 ) { case IDENT_27 : org . apache . IDENT_0 . service . IDENT_1 . IDENT_23 . METHOD_10 ( image , event , IDENT_15 ) ; break ; case IDENT_28 : org . apache . IDENT_0 . service . IDENT_1 . IDENT_23 . METHOD_11 ( image , event , IDENT_15 ) ; break ; case IDENT_29 : org . apache . IDENT_0 . service . IDENT_1 . IDENT_23 . METHOD_12 ( image , event , IDENT_15 ) ; break ; case IDENT_30 : org . apache . IDENT_0 . service . IDENT_1 . IDENT_23 . METHOD_13 ( image , event , IDENT_15 ) ; break ; case IDENT_9 : org . apache . IDENT_0 . service . IDENT_1 . IDENT_23 . METHOD_14 ( image , event , IDENT_15 ) ; break ; case IDENT_31 : org . apache . IDENT_0 . service . IDENT_1 . IDENT_23 . METHOD_15 ( image , event , IDENT_15 ) ; break ; case IDENT_32 : org . apache . IDENT_0 . service . IDENT_1 . IDENT_23 . METHOD_16 ( image , event , IDENT_15 ) ; break ; case IDENT_33 : org . apache . IDENT_0 . service . IDENT_1 . IDENT_23 . METHOD_17 ( image , event , IDENT_15 ) ; break ; default : org . apache . IDENT_0 . service . IDENT_1 . IDENT_23 . LOGGER . error ( STRING_1 , event . METHOD_18 ( ) , event . METHOD_9 ( ) ) ; break ; } }
org . junit . Assert . assertEquals ( expected , update )