Code Duplication    Length = 8-9 lines in 2 locations

tests/_support/Page/Widget/Input/TestableInput.php 2 locations

@@ 75-83 (lines=9) @@
72
     * @param string $title
73
     * @return TestableInput
74
     */
75
    public static function asAdvancedSearch(AcceptanceTester $tester, string $title): TestableInput
76
    {
77
        $instance           = new static($tester, '');
78
        $instance->title    = $title;
79
        $instance->auxName  = $instance->computeAuxName($title);
80
        $instance->selector = $instance->getSearchSelector();
81
82
        return $instance;
83
    }
84
85
    /**
86
     * @param AcceptanceTester $tester
@@ 90-97 (lines=8) @@
87
     * @param $columnName
88
     * @return TestableInput
89
     */
90
    public static function asTableFilter(AcceptanceTester $tester, string $columnName): TestableInput
91
    {
92
        $instance           = new static($tester, '');
93
        $instance->auxName  = $instance->computeAuxName($columnName);
94
        $instance->selector = $instance->getFilterSelector();
95
96
        return $instance;
97
    }
98
99
    /**
100
     * @return string