METHOD_0 ( ) { org . apache . hadoop . hive . IDENT_0 . exec . IDENT_1 < ? extends java . io . IDENT_2 > IDENT_3 = METHOD_1 ( 5 ) ; org . apache . hadoop . hive . IDENT_0 . exec . IDENT_1 < ? extends java . io . IDENT_2 > IDENT_4 = METHOD_1 ( 1 ) ; org . apache . hadoop . hive . IDENT_0 . exec . IDENT_1 < ? extends java . io . IDENT_2 > IDENT_5 = METHOD_1 ( 3 ) ; @ org . apache . hadoop . hive . IDENT_0 . exec . util . METHOD_2 ( STRING_0 ) org . apache . hadoop . hive . IDENT_0 . exec . IDENT_1 < ? extends java . io . IDENT_2 > IDENT_6 = mock ( org . apache . hadoop . hive . IDENT_0 . exec . IDENT_1 . class ) ; when ( IDENT_6 . METHOD_3 ( ) ) . thenReturn ( java . util . Arrays . asList ( IDENT_4 , IDENT_5 , IDENT_3 ) ) ; org . apache . hadoop . hive . IDENT_0 . exec . util . IDENT_7 . IDENT_8 function = new org . apache . hadoop . hive . IDENT_0 . exec . util . IDENT_7 . METHOD_4 ( ) ; org . apache . hadoop . hive . IDENT_0 . exec . util . IDENT_9 . METHOD_5 ( java . util . Collections . singletonList ( IDENT_6 ) , function ) ; "<AssertPlaceHolder>" ; } METHOD_5 ( java . util . List , org . apache . hadoop . hive . IDENT_0 . exec . util . IDENT_10 ) { java . util . List < org . apache . hadoop . hive . IDENT_0 . exec . IDENT_1 < ? extends java . io . IDENT_2 > > IDENT_11 = new java . util . ArrayList ( IDENT_12 ) ; while ( ! ( IDENT_11 . isEmpty ( ) ) ) { java . util . List < org . apache . hadoop . hive . IDENT_0 . exec . IDENT_1 < ? extends java . io . IDENT_2 > > IDENT_13 = new java . util . ArrayList ( ) ; for ( org . apache . hadoop . hive . IDENT_0 . exec . IDENT_1 < ? extends java . io . IDENT_2 > task : IDENT_11 ) { if ( function . METHOD_6 ( task ) ) { continue ; } if ( task instanceof org . apache . hadoop . hive . IDENT_0 . exec . IDENT_14 ) { IDENT_13 . addAll ( ( ( org . apache . hadoop . hive . IDENT_0 . exec . IDENT_14 ) ( task ) ) . METHOD_7 ( ) ) ; } if ( ( task . METHOD_3 ( ) ) != null ) { IDENT_13 . addAll ( task . METHOD_3 ( ) ) ; } function . process ( task ) ; } IDENT_11 = IDENT_13 ; } }
org . junit . Assert . assertEquals ( 3 , function . count )