@Test public void shouldGetAll() throws Exception { controller.getAll(); verify(service).getAllReasons(); }
@RequestMapping("all") public ResponseEntity<OpenLmisResponse> getAll(){ return OpenLmisResponse.response("reasons", service.getAllReasons()); }
DiscardingReasonsController extends BaseController { @RequestMapping("all") public ResponseEntity<OpenLmisResponse> getAll(){ return OpenLmisResponse.response("reasons", service.getAllReasons()); } }
DiscardingReasonsController extends BaseController { @RequestMapping("all") public ResponseEntity<OpenLmisResponse> getAll(){ return OpenLmisResponse.response("reasons", service.getAllReasons()); }  }
DiscardingReasonsController extends BaseController { @RequestMapping("all") public ResponseEntity<OpenLmisResponse> getAll(){ return OpenLmisResponse.response("reasons", service.getAllReasons()); }  @RequestMapping("all") ResponseEntity<OpenLmisResponse> getAll(); }
DiscardingReasonsController extends BaseController { @RequestMapping("all") public ResponseEntity<OpenLmisResponse> getAll(){ return OpenLmisResponse.response("reasons", service.getAllReasons()); }  @RequestMapping("all") ResponseEntity<OpenLmisResponse> getAll();  }