| Total Complexity | 4 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 24 | final class AttributeBuilderSpec extends ObjectBehavior |
||
| 25 | { |
||
| 26 | function let( |
||
| 27 | ConcatedNameResolverInterface $attributeNameResolver, |
||
| 28 | StringFormatterInterface $stringFormatter, |
||
| 29 | LocaleContextInterface $localeContext |
||
| 30 | ): void { |
||
| 31 | $this->beConstructedWith( |
||
| 32 | $attributeNameResolver, |
||
| 33 | $stringFormatter, |
||
| 34 | $localeContext |
||
| 35 | ); |
||
| 36 | } |
||
| 37 | |||
| 38 | function it_is_initializable(): void |
||
| 39 | { |
||
| 40 | $this->shouldHaveType(AttributeBuilder::class); |
||
| 41 | $this->shouldHaveType(AbstractBuilder::class); |
||
| 42 | } |
||
| 43 | |||
| 44 | function it_implements_property_builder_interface(): void |
||
| 45 | { |
||
| 46 | $this->shouldHaveType(PropertyBuilderInterface::class); |
||
| 47 | } |
||
| 48 | |||
| 49 | function it_consumes_event(TransformEvent $event): void |
||
| 50 | { |
||
| 51 | $this->consumeEvent($event); |
||
| 52 | } |
||
| 54 |