File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 228228
229229| Metric | Value |
230230| ---| ---|
231- | PHP source files | 19 |
232- | Source lines | ~ 720 |
231+ | PHP source files | 20 |
232+ | Source lines | ~ 810 |
233233| Test files | 13 |
234234| Test lines | ~ 700 |
235235| External runtime dependencies | 1 (kariricode/property-inspector) |
Original file line number Diff line number Diff line change 55namespace KaririCode \Serializer \Tests \Conformance ;
66
77use KaririCode \Serializer \Core \SerializationContextImpl ;
8+ use PHPUnit \Framework \Attributes \CoversClass ;
9+ use PHPUnit \Framework \Attributes \Test ;
810use PHPUnit \Framework \TestCase ;
911
12+ #[CoversClass(SerializationContextImpl::class)]
1013final class ImmutableStateTest extends TestCase
1114{
15+ #[Test]
1216 public function testContextImmutability (): void
1317 {
1418 $ ctx = SerializationContextImpl::create ('json ' );
@@ -18,6 +22,7 @@ public function testContextImmutability(): void
1822 $ this ->assertSame ('xml ' , $ ctx2 ->getFormat ());
1923 }
2024
25+ #[Test]
2126 public function testParametersImmutability (): void
2227 {
2328 $ ctx = SerializationContextImpl::create ();
You can’t perform that action at this time.
0 commit comments