Allows to override a stubbed method.