// Path: sonar-connector/src/main/java/com/thepracticaldeveloper/devgame/modules/stats/controller/SonarStatsController.java
// @RestController
// @RequestMapping(value = {"/stats"})
// public class SonarStatsController {
//     private SonarStatsService sonarStatsService;
// 
//     @Autowired
//     public SonarStatsController(final SonarStatsService sonarStatsService) {
//         this.sonarStatsService = sonarStatsService;
//     }
// 
//     @RequestMapping(value = {"/users", ""}, method = RequestMethod.GET, produces = MediaType.APPLICATION_JSON_VALUE)
//     public Collection<SonarStatsRow> statsHome() {
//         return sonarStatsService.getSortedStatsPerUser();
//     }
// 
//     @DeleteMapping("/users")
//     public MessageResponseDTO deleteAllStats() {
//         return sonarStatsService.deleteAllStats();
//     }
// 
//     @RequestMapping(value = "/teams", method = RequestMethod.GET, produces = MediaType.APPLICATION_JSON_VALUE)
//     public Collection<SonarStatsRow> statsTeams() {
//         return sonarStatsService.getSortedStatsPerTeam();
//     }
// }
// 
// Path: sonar-connector/src/main/java/com/thepracticaldeveloper/devgame/modules/stats/service/SonarStatsService.java
// public interface SonarStatsService {
//     Collection<SonarStatsRow> getSortedStatsPerUser();
// 
//     Collection<SonarStatsRow> getSortedStatsPerTeam();
// 
//     MessageResponseDTO deleteAllStats();
// }


import com.thepracticaldeveloper.devgame.modules.stats.controller.SonarStatsController;
import com.thepracticaldeveloper.devgame.modules.stats.service.SonarStatsService;
import org.mockito.Mockito;
import org.springframework.context.annotation.Bean;
package com.thepracticaldeveloper.devgame.app;


public class ApplicationTest {

    @Bean
// Path: sonar-connector/src/main/java/com/thepracticaldeveloper/devgame/modules/stats/controller/SonarStatsController.java
// @RestController
// @RequestMapping(value = {"/stats"})
// public class SonarStatsController {
//     private SonarStatsService sonarStatsService;
// 
//     @Autowired
//     public SonarStatsController(final SonarStatsService sonarStatsService) {
//         this.sonarStatsService = sonarStatsService;
//     }
// 
//     @RequestMapping(value = {"/users", ""}, method = RequestMethod.GET, produces = MediaType.APPLICATION_JSON_VALUE)
//     public Collection<SonarStatsRow> statsHome() {
//         return sonarStatsService.getSortedStatsPerUser();
//     }
// 
//     @DeleteMapping("/users")
//     public MessageResponseDTO deleteAllStats() {
//         return sonarStatsService.deleteAllStats();
//     }
// 
//     @RequestMapping(value = "/teams", method = RequestMethod.GET, produces = MediaType.APPLICATION_JSON_VALUE)
//     public Collection<SonarStatsRow> statsTeams() {
//         return sonarStatsService.getSortedStatsPerTeam();
//     }
// }
// 
// Path: sonar-connector/src/main/java/com/thepracticaldeveloper/devgame/modules/stats/service/SonarStatsService.java
// public interface SonarStatsService {
//     Collection<SonarStatsRow> getSortedStatsPerUser();
// 
//     Collection<SonarStatsRow> getSortedStatsPerTeam();
// 
//     MessageResponseDTO deleteAllStats();
// }


// Path: sonar-connector/src/test/java/com/thepracticaldeveloper/devgame/app/ApplicationTest.java
import com.thepracticaldeveloper.devgame.modules.stats.controller.SonarStatsController;
import com.thepracticaldeveloper.devgame.modules.stats.service.SonarStatsService;
import org.mockito.Mockito;
import org.springframework.context.annotation.Bean;

package com.thepracticaldeveloper.devgame.app;


public class ApplicationTest {

    @Bean
    public SonarStatsService service() {