EcomDev/EcomDev_PHPUnit — pull request #235 by danelowe (2014-12-05 16:36:13+00:00)
Title: Allow constructor arguments to be passed to a replaceByMock Mock

When we create mock and swap it out using replaceMyMock, the constructor was only called when creating the mock. With this PR, the constructor would be called when using the Mage factory to create a new instance if constructor arguments are passed to the Mage factory.