Revert "merged branch jfsimon/issue-6749 (PR #7220)"

This reverts commit f52120bdd33bcc83157fc55ee088a564c727fa59, reversing
changes made to 66c2be30d06bf8c9bee9e07aa57be245763c2478.
[Console] added string input test
[Console] added deprecation annotation
merged branch jfsimon/console-tests-fix (PR #7232)

This PR was merged into the 2.2 branch.

Commits
-------

5bf2f71 [Console] added deprecation annotation
f95f8e2 [Console] added string input test
4b12118 Revert "merged branch jfsimon/issue-6749 (PR #7220)"

Discussion
----------

[Console] fixes tests

Previous `StringInputTest::testInputOptionWithGivenString` test was broken.
Trying make it pass broke the way `StringInput` is used in the console.

Two things to know abour the `StringInput` class in its actual state:
*  the second argument in the constructor is useless
*  the `bind` method **must** be called in order to access arguments/options

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | yes
| Tests pass?   | yes