a Controller MainController that - has a playerDB class injected into it - has a mapping for
Question:
a Controller MainController that - has a playerDB class injected into it - has a mapping for "/players" that returns a 'players' template and attaches all players to the model
a Controller GameRestController that - has a playerDB class injected into it - has a mapping for "/mostdifficult" that returns the game with the highest difficulty
a unit test must validate the /players method that it attaches the correct objects to the model and returns the correct template)
----------------------------------------------------------------------------------------------------------------------------------------------------
[MainController] a path get "/creates" that returns a template with a form to create a player a template using thymeleaf that is an html5 form to create a player (and games they own) and submits a post to "/creates" - form should display validation errors if any [MainController] a path post "/creates" that saves a player (to playerdb) if it passes validation or returns back the original form if there are errors