@Test public void home() throws Exception { mvc.perform(get("http: .andExpect(status().isOk()); }
@RequestMapping("/") public String home(){ return "Hell World!"; }
EiCreateTenderType { @RequestMapping("/") public String home(){ return "Hell World!"; } }
EiCreateTenderType { @RequestMapping("/") public String home(){ return "Hell World!"; }  }
EiCreateTenderType { @RequestMapping("/") public String home(){ return "Hell World!"; }  @RequestMapping("/") String home(); @PostMapping("/add") EiTenderModel createTender(@Valid @RequestBody EiTenderModel bks); @GetMapping("/search/{id}") ResponseEntity<Object> getCreatedTender(@PathVariable(value = "id") Long tenderID); @DeleteMapping("/delete/{id}") //@RequestMapping(value = "/delete/{id}", method = RequestMethod.GET ) ResponseEntity <EiTenderModel> deleteBook(@PathVariable(value = "id") Long tenderID); @GetMapping("/allTenders") List<EiTenderModel> getAllTenders(); }
EiCreateTenderType { @RequestMapping("/") public String home(){ return "Hell World!"; }  @RequestMapping("/") String home(); @PostMapping("/add") EiTenderModel createTender(@Valid @RequestBody EiTenderModel bks); @GetMapping("/search/{id}") ResponseEntity<Object> getCreatedTender(@PathVariable(value = "id") Long tenderID); @DeleteMapping("/delete/{id}") //@RequestMapping(value = "/delete/{id}", method = RequestMethod.GET ) ResponseEntity <EiTenderModel> deleteBook(@PathVariable(value = "id") Long tenderID); @GetMapping("/allTenders") List<EiTenderModel> getAllTenders();  }