Code Duplication    Length = 7-7 lines in 2 locations

tests/Doctrine/Tests/DBAL/Schema/TableTest.php 2 locations

@@ 653-659 (lines=7) @@
650
    /**
651
     * @group DBAL-91
652
     */
653
    public function testAddIndexWithQuotedColumns()
654
    {
655
        $table = new Table("test");
656
        $table->addColumn('"foo"', 'integer');
657
        $table->addColumn('bar', 'integer');
658
        $table->addIndex(array('"foo"', '"bar"'));
659
    }
660
661
    /**
662
     * @group DBAL-91
@@ 664-670 (lines=7) @@
661
    /**
662
     * @group DBAL-91
663
     */
664
    public function testAddForeignKeyWithQuotedColumnsAndTable()
665
    {
666
        $table = new Table("test");
667
        $table->addColumn('"foo"', 'integer');
668
        $table->addColumn('bar', 'integer');
669
        $table->addForeignKeyConstraint('"boing"', array('"foo"', '"bar"'), array("id"));
670
    }
671
672
    /**
673
     * @group DBAL-177