assertThat(scjf.sparkContext, is(sc));
}
@Test
public void testJavaFunctions1() throws Exception {
SparkContext sc = mock(SparkContext.class);
JavaSparkContext jsc = mock(JavaSparkContext.class);
when(jsc.sc()).thenReturn(sc);
SparkContextJavaFunctions scjf = javaFunctions(jsc);
assertThat(scjf.sparkContext, is(jsc.sc()));
}