See http://hyperstruct.net/projects/spock.