REST Resource using injected Service to create Tournaments with junit tests for both. Test dependencies on junit, mockito and hamcrest