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