Part 1 of 1 in Building blocks

The Importance of Testing

This is the main section

Some bold text

ss
ss

some text

The code fragment

Java
@Controller
public class FeedController {

    private final FeedService feedService;

    public FeedController(FeedService feedService) {
        this.feedService = feedService;
    }

    @GetMapping(value = "/sitemap.xml", produces = MediaType.APPLICATION_XML_VALUE)
    @ResponseBody
    public String sitemap() {
        return feedService.sitemapXml();
    }

    @GetMapping(value = "/rss.xml", produces = "application/rss+xml;charset=UTF-8")
    @ResponseBody
    public String rss() {
        return feedService.rssXml();
    }

    @GetMapping(value = "/robots.txt", produces = "text/plain;charset=UTF-8")
    @ResponseBody
    public String robots() {
        return feedService.robotsTxt();
    }
}

The ClenService class is

ID

Name

Description

1

Test

some link Goal Questes

sss