Code Duplication    Length = 13-13 lines in 2 locations

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

@@ 497-509 (lines=13) @@
494
        self::assertTrue($c->diffSequence($seq1, $seq3));
495
    }
496
497
    public function testRemovedSequence()
498
    {
499
        $schema1 = new Schema();
500
        $seq     = $schema1->createSequence('foo');
501
502
        $schema2 = new Schema();
503
504
        $c          = new Comparator();
505
        $diffSchema = $c->compare($schema1, $schema2);
506
507
        self::assertEquals(1, count($diffSchema->removedSequences));
508
        self::assertSame($seq, $diffSchema->removedSequences[0]);
509
    }
510
511
    public function testAddedSequence()
512
    {
@@ 511-523 (lines=13) @@
508
        self::assertSame($seq, $diffSchema->removedSequences[0]);
509
    }
510
511
    public function testAddedSequence()
512
    {
513
        $schema1 = new Schema();
514
515
        $schema2 = new Schema();
516
        $seq     = $schema2->createSequence('foo');
517
518
        $c          = new Comparator();
519
        $diffSchema = $c->compare($schema1, $schema2);
520
521
        self::assertEquals(1, count($diffSchema->newSequences));
522
        self::assertSame($seq, $diffSchema->newSequences[0]);
523
    }
524
525
    public function testTableAddForeignKey()
526
    {