agilepro/ssofi-provider — pull request #4 by rapilabs (2013-12-05 19:38:45+00:00)
Title: Sample unit test setup with Gradle using JUnit, Mockito & PowerMock

I've created a sample unit test for AddressParser and shown how to setup Gradle to add the necessary dependencies.

This unit test makes use of Mockito & PowerMock to mock a static getter for baseUrl that I've inserted.

Now when 'gradlew' is run, the test will be run before the war is packaged. To ignore the test run the command (for Windows) `gradlew.bat -x test`