initial java 8 sample

This commit is contained in:
eugenp
2013-12-25 14:14:22 +02:00
parent 60b3ea14dc
commit 1a12a44cb1
4 changed files with 33 additions and 4 deletions
@@ -0,0 +1,15 @@
package org.baeldung.java;
import org.junit.Test;
public class CoreJava8UnitTest {
// tests -
@Test
public final void when_thenCorrect() {
final Runnable r2 = () -> System.out.println("Hello world two!");
r2.run();
}
}