Code Duplication    Length = 7-7 lines in 2 locations

tests/Array2ObjectBuilderTest.php 1 location

@@ 79-85 (lines=7) @@
76
        static::assertEquals($matcher, $builder->getMatcher());
77
    }
78
79
    public function testGetSetPropertyWriter()
80
    {
81
        $builder = Array2ObjectBuilder::create();
82
        $writer = new AccessorWriter();
83
        $builder->setWriter($writer);
84
        static::assertEquals($writer, $builder->getWriter());
85
    }
86
87
    public function testBuild()
88
    {

tests/Array2ObjectContextTest.php 1 location

@@ 56-62 (lines=7) @@
53
        static::assertEquals($matcher, $context->getMatcher());
54
    }
55
56
    public function testGetSetPropertyWriter()
57
    {
58
        $context = new Array2ObjectContext();
59
        $writer = new AccessorWriter();
60
        $context->setWriter($writer);
61
        static::assertEquals($writer, $context->getWriter());
62
    }
63
}
64