WikiController { @GetMapping("/{name}") public Article fetchArticle(@PathVariable final String name) { return Article.newBuilder().withName(name).build(); } @Autowired  WikiController(ArticleService articleService); @GetMapping("/{name}") Article fetchArticle(@PathVariable final String name); @CrossOrigin @GetMapping("/readevents") @JsonView(Article.NameOnly.class) List<Article> getReadStream();  }
@Test public void fetchArticle() throws Exception { }