Code Duplication    Length = 8-8 lines in 2 locations

tests/MappableDataObjectSetTest.php 1 location

@@ 70-77 (lines=8) @@
67
        $this->assertEquals($expected, $html);
68
    }
69
70
    private function getInstance()
71
    {
72
        $instance = new Member();
73
        $instance->Lat = 13.8188931;
74
        $instance->Lon = 100.5005558;
75
        $instance->FirstName = 'Test';
76
        $instance->Surname = 'User';
77
78
        return $instance;
79
    }
80
}

tests/MappableDataTest.php 1 location

@@ 184-191 (lines=8) @@
181
        $this->assertStringEndsWith('%2Fassets%2Fmapicontest.png%7C13.8188931%2C100.5005558&zoom=2&size=300x800&sensor=false&maptype=roadmap" width="300" height="800" alt="User, Test" />', $html);
182
    }
183
184
    private function getInstance()
185
    {
186
        $instance = new Member();
187
        $instance->Lat = 13.8188931;
188
        $instance->Lon = 100.5005558;
189
        $instance->FirstName = 'Test';
190
        $instance->Surname = 'User';
191
192
        return $instance;
193
    }
194