Code Duplication    Length = 3-3 lines in 2 locations

features/bootstrap/FeatureContext.php 2 locations

@@ 139-141 (lines=3) @@
136
    public function itShouldFail($success)
137
    {
138
        if ('fail' === $success) {
139
            if (0 === $this->getExitCode()) {
140
                echo 'Actual output:' . PHP_EOL . PHP_EOL . $this->getOutput();
141
            }
142
143
            PHPUnit_Framework_Assert::assertNotEquals(0, $this->getExitCode());
144
        } else {
@@ 145-147 (lines=3) @@
142
143
            PHPUnit_Framework_Assert::assertNotEquals(0, $this->getExitCode());
144
        } else {
145
            if (0 !== $this->getExitCode()) {
146
                echo 'Actual output:' . PHP_EOL . PHP_EOL . $this->getOutput();
147
            }
148
149
            PHPUnit_Framework_Assert::assertEquals(0, $this->getExitCode());
150
        }