Code Duplication    Length = 8-9 lines in 2 locations

tests/Doctrine/Tests/DBAL/Functional/BlobTest.php 2 locations

@@ 38-45 (lines=8) @@
35
        $this->_conn->exec($this->_conn->getDatabasePlatform()->getTruncateTableSQL('blob_table'));
36
    }
37
38
    public function testInsert()
39
    {
40
        $ret = $this->_conn->insert('blob_table',
41
            array('id' => 1, 'clobfield' => 'test', 'blobfield' => 'test', 'binaryfield' => 'test'),
42
            array(\PDO::PARAM_INT, \PDO::PARAM_STR, \PDO::PARAM_LOB, \PDO::PARAM_LOB)
43
        );
44
        self::assertEquals(1, $ret);
45
    }
46
47
    public function testSelect()
48
    {
@@ 47-55 (lines=9) @@
44
        self::assertEquals(1, $ret);
45
    }
46
47
    public function testSelect()
48
    {
49
        $this->_conn->insert('blob_table',
50
            array('id' => 1, 'clobfield' => 'test', 'blobfield' => 'test', 'binaryfield' => 'test'),
51
            array(\PDO::PARAM_INT, \PDO::PARAM_STR, \PDO::PARAM_LOB, \PDO::PARAM_LOB)
52
        );
53
54
        $this->assertBlobContains('test');
55
    }
56
57
    public function testUpdate()
58
    {