Verified, that RestController throws NotFound, if remote-data does not exist
authorKai Moritz <kai@juplo.de>
Tue, 14 Jan 2020 19:11:06 +0000 (20:11 +0100)
committerKai Moritz <kai@juplo.de>
Thu, 16 Jan 2020 10:18:03 +0000 (11:18 +0100)
commitb7dc861910bd43020ff91c8f9f51fe4c32a66aec
tree4ac40025ff54b11bd147345909f1e8454fc59c6f
parenta8d8724d2121865c96692a25fd29ecf0d266bf7e
Verified, that RestController throws NotFound, if remote-data does not exist

* This tests may seem to check the value reached into the class by the test
  itself, because RestController simply returns the fetched Mono at the
  moment
* But it is valuable, because it verifies, that the behavior stays unchanged,
  when the implementation of RestControler is changed
src/test/java/de/juplo/demo/RestControllerTest.java