METHOD_0 ( ) { org . apache . hadoop . IDENT_0 . IDENT_1 client = new org . apache . hadoop . IDENT_0 . METHOD_1 ( ) ; org . apache . hadoop . mapreduce . IDENT_2 IDENT_3 = mock ( org . apache . hadoop . mapreduce . IDENT_2 . class ) ; client . cluster = IDENT_3 ; org . apache . hadoop . IDENT_0 . IDENT_4 id = new org . apache . hadoop . IDENT_0 . METHOD_2 ( "test" , 0 ) ; when ( IDENT_3 . METHOD_3 ( id ) ) . thenReturn ( null ) ; org . apache . hadoop . IDENT_0 . IDENT_5 [ ] result = client . METHOD_4 ( id ) ; "<AssertPlaceHolder>" ; verify ( IDENT_3 ) . METHOD_3 ( id ) ; } METHOD_4 ( org . apache . hadoop . IDENT_0 . METHOD_2 ) { org . apache . hadoop . IDENT_0 . IDENT_6 job = IDENT_7 . get ( IDENT_8 ) ; if ( ( job == null ) || ( ! ( METHOD_5 ( job ) ) ) ) { return org . apache . hadoop . IDENT_0 . IDENT_9 . IDENT_10 ; } else { java . util . IDENT_11 < org . apache . hadoop . IDENT_0 . IDENT_5 > IDENT_12 = new java . util . IDENT_11 < org . apache . hadoop . IDENT_0 . IDENT_5 > ( ) ; java . util . IDENT_11 IDENT_13 = job . METHOD_6 ( false , true ) ; for ( java . util . Iterator it = IDENT_13 . iterator ( ) ; it . hasNext ( ) ; ) { org . apache . hadoop . IDENT_0 . IDENT_14 IDENT_15 = ( ( org . apache . hadoop . IDENT_0 . IDENT_14 ) ( it . next ( ) ) ) ; IDENT_12 . add ( IDENT_15 . METHOD_7 ( ) ) ; } java . util . IDENT_11 IDENT_16 = job . METHOD_6 ( false , false ) ; for ( java . util . Iterator it = IDENT_16 . iterator ( ) ; it . hasNext ( ) ; ) { org . apache . hadoop . IDENT_0 . IDENT_14 IDENT_15 = ( ( org . apache . hadoop . IDENT_0 . IDENT_14 ) ( it . next ( ) ) ) ; IDENT_12 . add ( IDENT_15 . METHOD_7 ( ) ) ; } return IDENT_12 . toArray ( new org . apache . hadoop . IDENT_0 . IDENT_5 [ IDENT_12 . size ( ) ] ) ; } }
org . junit . Assert . assertEquals ( 0 , result . length )