package hu.advancedweb.scott;

import static org.junit.jupiter.api.Assertions.assertEquals;

import org.junit.jupiter.api.Test;
import java.util.function.Function;


public class VarTest {

	@Test
	public void testWithMessageSupplier() {
		var first = "Hello";
		var last = "World";

		var concatenated = first + " " + last;

		assertEquals("Goodbye World", concatenated, 
				() -> "Incorrect message.");
	}
	

}

@@ -125,45 +125,8 @@
 st;%0A
-import java.util.function.Function;%0A%0A
 %0Apub
@@ -367,11 +367,10 @@
 );%0A%09%7D%0A%09%0A
-%0A
 %7D%0A

remove unused import