I\'ve got a problem with testing Java code using Groovy/Spock. I wrote a short lambda-expression for filtering a list:
public List getMeSomething(