vworldat/MenuBundle — pull request #1 by mvhirsch (2014-04-18 20:43:16+00:00)
Title: Add basic setup for testing

I set up a basic test environment.

After a short breakdown of the `MenuItem` class (started with it first) I can now say: yea, there were many (MANY!) requirements to other classes (Menu, Routing, Request, Container itself, ...).

Also: since many methods are protected and not public, some of it's very basic function can not be easily tested. You can, if you want to ~f**k~ build up with Reflection classes.
However, I was able to add a very basic (somewhat useful) test case.

Just run `phpunit` (I usee v4.0, but I think everything about >=3.3 will do it) and see it's results.