Completed
Pull Request — master (#30)
by Rudolph
04:05 queued 53s
created

SessionIdTest::testToString()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 6
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 3
nc 1
nop 0
1
<?php
2
3
namespace PSR7SessionsTest\Storage\Id;
4
5
use PHPUnit_Framework_TestCase;
6
use PSR7Sessions\Storage\Id\SessionId;
7
8
class SessionIdTest extends PHPUnit_Framework_TestCase
9
{
10
    public function testToString()
11
    {
12
        $id = new SessionId('my-id');
13
14
        $this->assertSame('my-id', (string)$id);
15
    }
16
}
17