diff --git a/Test/src/com/tomi/Test2.java b/Test/src/com/tomi/Test2.java new file mode 100644 index 0000000000000000000000000000000000000000..08e06efb9681d1091e2ef10540fc728dd5d54557 --- /dev/null +++ b/Test/src/com/tomi/Test2.java @@ -0,0 +1,26 @@ +package com.tomi; + +import java.util.List; + +import org.junit.jupiter.api.AfterEach; +import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Test; + +class Test2 { + + @BeforeEach + void setUp() throws Exception { + } + + @AfterEach + void tearDown() throws Exception { + } + + @Test + void testStream() { + Listnumbers = List.of("1","2","3","4"); + + numbers.stream().forEach(v -> System.out.printf( "Number=%s\n", v)); + } + +}