@@ -29,7 +29,7 @@ private static void copy(InputStream source, OutputStream target) throws IOExcep
2929 }
3030
3131 @ Test
32- public final void givenUsingJavaEight_whenConvertingStringToInputStream_thenCorrect () throws IOException {
32+ public final void givenUsingJavaEight_whenCopyingInputStreamToOutputStream_thenCorrect () throws IOException {
3333 final String initialString = "Hello World!" ;
3434
3535 try (InputStream inputStream = new ByteArrayInputStream (initialString .getBytes ());
@@ -40,7 +40,7 @@ public final void givenUsingJavaEight_whenConvertingStringToInputStream_thenCorr
4040 }
4141
4242 @ Test
43- public final void givenUsingJavaEight_whenConvertingVeryLongStringToInputStream_thenCorrect () throws IOException {
43+ public final void givenUsingJavaEight_whenCopyingLongInputStreamToOutputStream_thenCorrect () throws IOException {
4444 final String initialString = randomAlphabetic (20480 );
4545
4646 try (InputStream inputStream = new ByteArrayInputStream (initialString .getBytes ());
@@ -51,7 +51,7 @@ public final void givenUsingJavaEight_whenConvertingVeryLongStringToInputStream_
5151 }
5252
5353 @ Test
54- public final void givenUsingJavaNine_whenConvertingStringToInputStream_thenCorrect () throws IOException {
54+ public final void givenUsingJavaNine_whenCopyingInputStreamToOutputStream_thenCorrect () throws IOException {
5555 final String initialString = "Hello World!" ;
5656
5757 try (InputStream inputStream = new ByteArrayInputStream (initialString .getBytes ());
@@ -62,7 +62,7 @@ public final void givenUsingJavaNine_whenConvertingStringToInputStream_thenCorre
6262 }
6363
6464 @ Test
65- public final void givenUsingGuava_whenConvertingStringToInputStream_thenCorrect () throws IOException {
65+ public final void givenUsingGuava_whenCopyingInputStreamToOutputStream_thenCorrect () throws IOException {
6666 final String initialString = "Hello World!" ;
6767
6868 try (InputStream inputStream = new ByteArrayInputStream (initialString .getBytes ());
@@ -73,7 +73,7 @@ public final void givenUsingGuava_whenConvertingStringToInputStream_thenCorrect(
7373 }
7474
7575 @ Test
76- public final void givenUsingCommonsIO_whenConvertingStringToInputStream_thenCorrect () throws IOException {
76+ public final void givenUsingCommonsIO_whenCopyingInputStreamToOutputStream_thenCorrect () throws IOException {
7777 final String initialString = "Hello World!" ;
7878
7979 try (InputStream inputStream = new ByteArrayInputStream (initialString .getBytes ());
0 commit comments