| Conditions | 1 |
| Paths | 1 |
| Total Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 12 | public function testConfigurability(): void |
||
| 13 | { |
||
| 14 | $fooEnum = new ConfigurableEnum('foo', ['foo' => 'FOO', 'bar' => 'BAR']); |
||
| 15 | $this->assertSame('foo', $fooEnum->getName()); |
||
| 16 | $this->assertSame(['foo' => 'FOO', 'bar' => 'BAR'], $fooEnum->getChoices()); |
||
| 17 | } |
||
| 18 | } |
||
| 19 |