Code Duplication    Length = 9-9 lines in 2 locations

tests/v3/edmx/TEdmxTypeTest.php 2 locations

@@ 64-72 (lines=9) @@
61
        $this->assertEquals($expected, $actual);
62
    }
63
64
    public function testSetDesignerTypeOK()
65
    {
66
        $designer = m::mock(TDesignerType::class);
67
        $designer->shouldReceive('isOK')->andReturn(true)->twice();
68
        $foo = new TEdmxType();
69
70
        $foo->setDesigner($designer);
71
        $this->assertTrue($foo->getDesigner()->isOK());
72
    }
73
74
    public function testSetRuntimeNotOK()
75
    {
@@ 91-99 (lines=9) @@
88
        $this->assertEquals($expected, $actual);
89
    }
90
91
    public function testSetRuntimeOK()
92
    {
93
        $runtime = m::mock(TRuntimeType::class);
94
        $runtime->shouldReceive('isOK')->andReturn(true)->twice();
95
        $foo = new TEdmxType();
96
97
        $foo->setRuntime($runtime);
98
        $this->assertTrue($foo->getRuntime()->isOK());
99
    }
100
101
    public function testIsNewObjectOK()
102
    {