METHOD_0 ( ) { org . apache . hadoop . hive . accumulo . IDENT_0 . IDENT_1 IDENT_2 = org . mockito . Mockito . mock ( org . apache . hadoop . hive . accumulo . IDENT_0 . IDENT_1 . class ) ; org . apache . hadoop . hive . IDENT_3 . plan . IDENT_4 root = org . mockito . Mockito . mock ( org . apache . hadoop . hive . IDENT_3 . plan . IDENT_4 . class ) ; java . lang . String IDENT_5 = STRING_0 ; org . apache . accumulo . core . data . IDENT_6 r = new org . apache . accumulo . core . data . METHOD_1 ( "a" ) ; org . mockito . Mockito . when ( IDENT_2 . METHOD_2 ( conf , IDENT_7 ) ) . METHOD_3 ( ) ; org . mockito . Mockito . when ( IDENT_2 . METHOD_4 ( conf , IDENT_7 , IDENT_5 , root ) ) . thenReturn ( r ) ; org . mockito . Mockito . when ( IDENT_2 . METHOD_5 ( conf ) ) . thenReturn ( root ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( org . apache . hadoop . conf . Configuration , org . apache . hadoop . hive . accumulo . IDENT_8 . IDENT_9 ) { if ( ! ( IDENT_7 . METHOD_6 ( ) ) ) { return org . apache . hadoop . hive . accumulo . IDENT_0 . IDENT_1 . IDENT_10 ; } int IDENT_11 = IDENT_7 . METHOD_7 ( ) ; java . lang . String [ ] IDENT_12 = conf . METHOD_8 ( IDENT_13 . IDENT_14 ) ; if ( null == IDENT_12 ) { throw new java . lang . IllegalArgumentException ( STRING_1 ) ; } java . lang . String IDENT_5 = IDENT_12 [ IDENT_11 ] ; org . apache . hadoop . hive . IDENT_3 . plan . IDENT_4 root = this . METHOD_5 ( conf ) ; if ( null == root ) { return org . apache . hadoop . hive . accumulo . IDENT_0 . IDENT_1 . IDENT_10 ; } java . lang . Object result = METHOD_4 ( conf , IDENT_7 , IDENT_5 , root ) ; if ( null == result ) { org . apache . hadoop . hive . accumulo . IDENT_0 . IDENT_1 . LOG . info ( STRING_2 ) ; return org . apache . hadoop . hive . accumulo . IDENT_0 . IDENT_1 . IDENT_10 ; } else if ( result instanceof org . apache . accumulo . core . data . METHOD_1 ) { org . apache . hadoop . hive . accumulo . IDENT_0 . IDENT_1 . LOG . info ( ( STRING_3 + result ) ) ; return java . util . Collections . singletonList ( ( ( org . apache . accumulo . core . data . METHOD_1 ) ( result ) ) ) ; } else if ( result instanceof java . util . List ) { org . apache . hadoop . hive . accumulo . IDENT_0 . IDENT_1 . LOG . info ( ( STRING_4 + result ) ) ; @ org . apache . hadoop . hive . accumulo . IDENT_0 . METHOD_9 ( STRING_5 ) java . util . List < org . apache . accumulo . core . data . METHOD_1 > IDENT_15 = ( ( java . util . List < org . apache . accumulo . core . data . METHOD_1 > ) ( result ) ) ; return IDENT_15 ; } else { throw new java . lang . IllegalArgumentException ( ( STRING_6 + result ) ) ; } }
org . junit . Assert . assertEquals ( java . util . Collections . singletonList ( r ) , IDENT_2 . METHOD_2 ( conf , IDENT_7 ) )