The logic for this page is written entirely in PHP, see NavMenuComponent for details.
The tests are written using PHPUnit and run on the command line (for now,) see NavMenuComponentTest.