Java solution

Great presentation on this!  I added a gradle build and Spock (http://docs.spockframework.org/en/latest/) specifications.  The spock DSL is like mockito, but more expressive.  I highly recommend it for testing Java.