Testing implementation for the injection container using Moq.