Code Duplication    Length = 7-7 lines in 2 locations

tests/SlideImageTest.php 2 locations

@@ 34-40 (lines=7) @@
31
    /**
32
     *
33
     */
34
    public function testValidateName()
35
    {
36
        $object = $this->objFromFixture(SlideImage::class, 'slide1');
37
        $object->Name = '';
38
        $this->setExpectedException(ValidationException::class);
39
        $object->write();
40
    }
41
42
    /**
43
     *
@@ 45-51 (lines=7) @@
42
    /**
43
     *
44
     */
45
    public function testValidateImage()
46
    {
47
        $object = $this->objFromFixture(SlideImage::class, 'slide1');
48
        $object->ImageID = '';
49
        $this->setExpectedException(ValidationException::class);
50
        $object->write();
51
    }
52
53
    /**
54
     *