- Mastering Spring 5.0
- Ranga Rao Karanam
- 35字
- 2021-07-02 22:12:11
Unit testing
In this unit test, we want to set up BasicModelMapController, execute a get request to /welcome-model-map, and check whether the model has the expected attribute and whether the expected view name is returned.