Completed
Push — master ( 2f04be...9682f1 )
by Steevan
01:49 queued 18s
created

SetRemovePathPrefixTest::testWithfalse()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 6
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
namespace Steevanb\PhpBacktrace\Tests\DebugBacktrace;
4
5
use PHPUnit\Framework\TestCase;
6
7
class SetRemovePathPrefixTest extends TestCase
8
{
9
    public function testWithTrue()
10
    {
11
        \DebugBacktrace::setRemovePathPrefix(true);
12
13
        static::addToAssertionCount(1);
14
    }
15
16
    public function testWithfalse()
17
    {
18
        \DebugBacktrace::setRemovePathPrefix(true);
19
20
        static::addToAssertionCount(1);
21
    }
22
23
    public function testWithPrefix()
24
    {
25
        \DebugBacktrace::setRemovePathPrefix('/foo');
26
27
        static::addToAssertionCount(1);
28
    }
29
}
30