METHOD_0 ( ) { org . apache . spark . IDENT_0 conf = new org . apache . spark . METHOD_1 ( ) ; conf . METHOD_2 ( STRING_0 ) ; conf . METHOD_3 ( STRING_1 ) ; org . apache . spark . api . java . IDENT_1 IDENT_2 = new org . apache . spark . api . java . METHOD_4 ( conf ) ; org . apache . spark . api . java . IDENT_3 < com . IDENT_4 . spark . IDENT_5 . IDENT_6 > IDENT_7 = IDENT_2 . METHOD_5 ( ) ; com . IDENT_4 . spark . IDENT_5 . IDENT_8 validator = new com . IDENT_4 . spark . IDENT_5 . METHOD_6 ( new com . IDENT_4 . spark . IDENT_5 . METHOD_7 ( ) , org . mockito . Mockito . mock ( com . IDENT_4 . spark . IDENT_9 . class ) ) ; long [ ] output = validator . METHOD_8 ( IDENT_7 , 1 ) ; long [ ] IDENT_10 = new long [ ] { 0L , 0L , 0L } ; "<AssertPlaceHolder>" ; IDENT_2 . close ( ) ; } METHOD_8 ( org . apache . spark . api . java . IDENT_3 , int ) { org . apache . spark . api . java . IDENT_3 < long [ ] > IDENT_11 = IDENT_12 . METHOD_9 ( IDENT_13 , IDENT_14 ) ; if ( IDENT_13 . isEmpty ( ) ) { long [ ] IDENT_15 = new long [ IDENT_14 + 2 ] ; java . util . Arrays . METHOD_10 ( IDENT_15 , 0 ) ; return IDENT_15 ; } return IDENT_11 . METHOD_11 ( new com . IDENT_4 . spark . IDENT_5 . IDENT_16 . METHOD_12 ( ) ) ; }
org . junit . Assert . assertArrayEquals ( IDENT_10 , output )