| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | public function testIdGetters() |
||
| 11 | { |
||
| 12 | // Arrange |
||
| 13 | $sut = new CorrelationId(static::TEST_ID); |
||
| 14 | // Assert |
||
| 15 | $this->assertSame(static::TEST_ID, $sut->get()); |
||
| 16 | $this->assertSame(static::TEST_ID, (string) $sut); |
||
| 17 | $this->assertSame(json_encode(static::TEST_ID), json_encode($sut)); |
||
| 18 | } |
||
| 19 | |||
| 31 |