Generic method test
Lambda and functional interface test