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