Code Duplication    Length = 11-11 lines in 2 locations

Tests/Functional/MappingToElasticaTest.php 2 locations

@@ 64-74 (lines=11) @@
61
        $this->assertArrayNotHasKey('store', $mapping['type']['properties']['field2']);
62
    }
63
64
    public function testORMResetIndexAddsMappings()
65
    {
66
        $client = $this->createClient(array('test_case' => 'ORM'));
67
        $resetter = $this->getResetter($client);
68
        $resetter->resetIndex('index');
69
70
        $type = $this->getType($client);
71
        $mapping = $type->getMapping();
72
73
        $this->assertNotEmpty($mapping, 'Mapping was populated');
74
    }
75
76
    public function testORMResetType()
77
    {
@@ 76-86 (lines=11) @@
73
        $this->assertNotEmpty($mapping, 'Mapping was populated');
74
    }
75
76
    public function testORMResetType()
77
    {
78
        $client = $this->createClient(array('test_case' => 'ORM'));
79
        $resetter = $this->getResetter($client);
80
        $resetter->resetIndexType('index', 'type');
81
82
        $type = $this->getType($client);
83
        $mapping = $type->getMapping();
84
85
        $this->assertNotEmpty($mapping, 'Mapping was populated');
86
    }
87
88
    public function testMappingIteratorToArrayField()
89
    {