Main { public static int checkSumOfStream(InputStream inputStream) throws IOException { return 0; }  static int checkSumOfStream(InputStream inputStream);  }
@Test(timeout = 8000) public void checkSumOfStreamSample1() throws IOException { for (int i = 0; i < testSets.length; i++) { int checkSum = Main.checkSumOfStream(new ByteArrayInputStream(testSets[i])); assertEquals(testResults[i], checkSum); } }