Add missing assertions on ControllerGeneratorTest
Fix coding style
minor #310 Fix incomplete test + CS (GromNaN)

This PR was merged into the 2.4.x-dev branch.

Discussion
----------

Fix incomplete test + CS

While reviewing the code, I've found an incomplete test and some trailing spaces.

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | n/a
| License       | MIT
| Doc PR        | n/a

Commits
-------

afe8fc8 Fix coding style
41775e2 Add missing assertions on ControllerGeneratorTest