fix to parameter len when mocking empty param methods