Kevin Schroeder has posted the second part of his ZF2 dependency injection series (part one here) talking about their configuration.
In my previous post about Dependency Injection Container (DiC) configuration I made mention of some more complicated scenarios that you can use to configure your objects. Not that you need help to make it more complicated. [...] That’s why I think this series of blog posts are good. They show you how to get started small which is really the only way to get started if you aren’t intimately familiar with a DiC.
He expands on the previous example by adding another method that lets you set up some testing data (injected into the Test class object) and feed in the data via the "parameters" DI container configuration.