//Compilable with Java8
package com.puppycrawl.tools.checkstyle.grammars.java8;

import java.util.logging.Logger;

public class InputLambda13 {

	private static final Logger LOG = Logger.getLogger(InputLambda13.class.getName());

	public static void testVoidLambda(TestOfVoidLambdas test) {
		LOG.info("Method called");
		test.doSmth("fef", 5);
	}
	
	
	public static void main(String[] args) {
		
		testVoidLambda((String s1, Integer i2) -> {
			LOG.info(s1);
		});
	}

	private interface TestOfVoidLambdas {

		public void doSmth(String first, Integer second);
	}
}
