Code Duplication    Length = 8-8 lines in 2 locations

tests/ScalarTests.php 2 locations

@@ 16-23 (lines=8) @@
13
    /** 
14
     * @test
15
     */
16
    public function freeze_integer()
17
    {
18
        $scalar = new FreezeInteger(10);
19
20
        $this->isInstanceOf(FreezeInteger::class, $scalar);
21
        $this->isInstanceOf(Scalar::class, $scalar);
22
        $this->assertEquals($scalar->content(), 10);
23
    }
24
25
    /** 
26
     * @test
@@ 28-35 (lines=8) @@
25
    /** 
26
     * @test
27
     */
28
    public function string_integer()
29
    {
30
        $scalar = new FreezeString('string');
31
32
        $this->isInstanceOf(FreezeString::class, $scalar);
33
        $this->isInstanceOf(Scalar::class, $scalar);
34
        $this->assertEquals($scalar->content(), 'string');
35
    }  
36
37
    /** 
38
     * @test