Code Duplication    Length = 7-7 lines in 2 locations

test/unit/VersionControl/Git/GitVersionControlTest.php 2 locations

@@ 26-32 (lines=7) @@
23
    /**
24
     * @group platform-linux
25
     */
26
    public function testCreateProcessLinux() {
27
        $repo = new GitVersionControl('git', getcwd());
28
        $process = $repo->createProcess(['help']);
29
30
        $this->assertEquals(getcwd(), $process->getWorkingDirectory());
31
        $this->assertEquals('\'git\' \'help\'', $process->getCommandLine());
32
    }
33
34
    /**
35
     * @group platform-windows
@@ 37-43 (lines=7) @@
34
    /**
35
     * @group platform-windows
36
     */
37
    public function testCreateProcessWindows() {
38
        $repo = new GitVersionControl('git', getcwd());
39
        $process = $repo->createProcess(['help']);
40
41
        $this->assertEquals(getcwd(), $process->getWorkingDirectory());
42
        $this->assertEquals('git help', $process->getCommandLine());
43
    }
44
45
    public function testRunCommand() {
46
        $repo = new GitVersionControl('git', getcwd());