Code Duplication    Length = 9-10 lines in 2 locations

tests/v3/edmx/TEdmxTypeTest.php 2 locations

@@ 101-109 (lines=9) @@
98
        $this->assertTrue($foo->getRuntime()->isOK());
99
    }
100
101
    public function testIsNewObjectOK()
102
    {
103
        $expected = "Version cannot be null or empty";
104
        $actual = null;
105
        $foo = new TEdmxType();
106
107
        $this->assertFalse($foo->isOK($actual));
108
        $this->assertEquals($expected, $actual);
109
    }
110
111
    public function testIsObjectWithoutDataServiceOK()
112
    {
@@ 111-120 (lines=10) @@
108
        $this->assertEquals($expected, $actual);
109
    }
110
111
    public function testIsObjectWithoutDataServiceOK()
112
    {
113
        $expected = "Data service type cannot be null";
114
        $actual = null;
115
        $foo = new TEdmxType();
116
        $foo->setVersion("1.5");
117
118
        $this->assertFalse($foo->isOK($actual));
119
        $this->assertEquals($expected, $actual);
120
    }
121
122
    public function testIsObjectWithBadDataServiceOK()
123
    {