Code Duplication    Length = 7-7 lines in 2 locations

tests/FieldTest.php 2 locations

@@ 55-61 (lines=7) @@
52
     * Tests integer value representation
53
     * @return void
54
     */
55
    public function testIntegerValue()
56
    {
57
        $int = 10;
58
        $array = (new Field(1, $int))->toArray();
59
        $this->assertArrayHasKey('fvalueInt', $array);
60
        $this->assertSame($array['fvalueInt'], $int);
61
    }
62
63
64
    /**
@@ 68-74 (lines=7) @@
65
     * Tests float value representation
66
     * @return void
67
     */
68
    public function testFloatValue()
69
    {
70
        $float = 13.5;
71
        $array = (new Field(1, $float))->toArray();
72
        $this->assertArrayHasKey('fvalueFloat', $array);
73
        $this->assertSame($array['fvalueFloat'], $float);
74
    }
75
76
77
    public function testDateValue()