mercredi 31 mars 2021

Spring boot testing Rest Controller [closed]

What is the best and easiest solution to test this get mapping? Could you show some easy example?

@GetMapping("/locations")
public List<Location> allAccess() {
    return locationService.getLocations();
}

Aucun commentaire:

Enregistrer un commentaire