I recently added a presentation of an IoC/DI example to GitHub. The presentation can be viewed here. The code is available here. The purpose of this example was to show how you can make a system extendable and testable by using injections and only depend on interfaces.
Remember that: