Fixing the parameter parser (see #1168)

Rebased version of https://github.com/Sylius/Sylius/pull/1770
There is not need for calling `shouldBeCalled()` when you call `willReturn()`, it's just duplicating of prophecy calls.