Code Duplication    Length = 7-7 lines in 2 locations

tests/Array2ObjectBuilderTest.php 1 location

@@ 71-77 (lines=7) @@
68
        static::assertEquals(['string', 'integer'], $builder->getDisabledParsers());
69
    }
70
71
    public function testGetSetPropertyMatcher()
72
    {
73
        $builder = Array2ObjectBuilder::create();
74
        $matcher = new CamelizeMatcher();
75
        $builder->setMatcher($matcher);
76
        static::assertEquals($matcher, $builder->getMatcher());
77
    }
78
79
    public function testGetSetPropertyWriter()
80
    {

tests/Array2ObjectContextTest.php 1 location

@@ 48-54 (lines=7) @@
45
        static::assertEquals(['integer' => new IntegerParser(), 'string' => new StringParser()], $context->getParsers());
46
    }
47
48
    public function testGetSetPropertyMatcher()
49
    {
50
        $context = new Array2ObjectContext();
51
        $matcher = new CamelizeMatcher();
52
        $context->setMatcher($matcher);
53
        static::assertEquals($matcher, $context->getMatcher());
54
    }
55
56
    public function testGetSetPropertyWriter()
57
    {