Adding base classes for Spock. You can now write functional test cases u...

Writing functional test cases using Spock. Added APIFunctionalSpec base class..