| Total Complexity | 4 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 19 | final class ConcatedNameResolverSpec extends ObjectBehavior |
||
| 20 | { |
||
| 21 | function let(): void |
||
| 22 | { |
||
| 23 | $this->beConstructedWith('Book'); |
||
| 24 | } |
||
| 25 | |||
| 26 | function it_is_initializable(): void |
||
| 27 | { |
||
| 28 | $this->shouldHaveType(ConcatedNameResolver::class); |
||
| 29 | } |
||
| 30 | |||
| 31 | function it_implements_concated_name_resolver_interface(): void |
||
| 32 | { |
||
| 33 | $this->shouldHaveType(ConcatedNameResolverInterface::class); |
||
| 34 | } |
||
| 35 | |||
| 36 | function it_resolves_property_name(): void |
||
| 37 | { |
||
| 38 | $this->resolvePropertyName('En')->shouldBeEqualTo('book_en'); |
||
| 39 | } |
||
| 41 |