Code Duplication    Length = 13-13 lines in 2 locations

tests/Crud/QueryBuilder/Sql/WhereTokenUnitTest.php 2 locations

@@ 53-65 (lines=13) @@
50
     *
51
     * @small
52
     */
53
    public function toString_GeneratesCorrectSqlWithIs()
54
    {
55
        $column = 'dummy_column';
56
        $value = null;
57
        $bindingCounter = 5;
58
59
        $whereToken = new WhereToken($column, $value, $bindingCounter);
60
61
        self::assertEquals(
62
            "`$column`" . WhereToken::COMPARISON_IS . WhereToken::BINDING_PREFIX . $bindingCounter,
63
            $whereToken->toString()
64
        );
65
    }
66
67
    /**
68
     * @test
@@ 72-84 (lines=13) @@
69
     *
70
     * @small
71
     */
72
    public function toString_GeneratesCorrectSqlWithOtherComparison()
73
    {
74
        $column = 'dummy_column';
75
        $value = 4;
76
        $bindingCounter = 5;
77
78
        $whereToken = new WhereToken($column, $value, $bindingCounter, WhereToken::COMPARISON_HIGHER_OR_EQUAL);
79
80
        self::assertEquals(
81
            "`$column`" . WhereToken::COMPARISON_HIGHER_OR_EQUAL . WhereToken::BINDING_PREFIX . $bindingCounter,
82
            $whereToken->toString()
83
        );
84
    }
85
86
    /**
87
     * @test