Spring Applications

Exercise: Hello Application (Testing)

  1. Unit Test
    • Implement a unit test HelloServiceTest to test the Hello service
    • Mock the Greeting service such that it always return the same greeting message
  2. Integration Test
    • Implement an integration test HelloServiceIT to test the Hello service
    • Provide a test configuration file test.properties that overrides the times of day