Code Duplication    Length = 13-13 lines in 2 locations

tests/src/WSDL/Parser/ParserTest.php 2 locations

@@ 44-56 (lines=13) @@
41
    /**
42
     * @test
43
     */
44
    public function shouldParseSimple()
45
    {
46
        //given
47
        $parser = $this->parser('int $age');
48
49
        //when
50
        $nodes = $parser->S();
51
52
        //then
53
        Assert::thatArray($nodes)
54
            ->extracting('type', 'name', 'isArray', 'elements')
55
            ->containsExactly(['int', '$age', false, []]);
56
    }
57
58
    /**
59
     * @test
@@ 61-73 (lines=13) @@
58
    /**
59
     * @test
60
     */
61
    public function shouldParseSimpleArray()
62
    {
63
        //given
64
        $parser = $this->parser('int[] $age');
65
66
        //when
67
        $nodes = $parser->S();
68
69
        //then
70
        Assert::thatArray($nodes)
71
            ->extracting('type', 'name', 'isArray', 'elements')
72
            ->containsExactly(['int', '$age', true, []]);
73
    }
74
75
    /**
76
     * @test