| Total Complexity | 4 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 22 | final class AttributeTaxonsBuilderSpec extends ObjectBehavior |
||
| 23 | { |
||
| 24 | function let(TaxonRepositoryInterface $taxonRepository): void |
||
| 25 | { |
||
| 26 | $this->beConstructedWith( |
||
| 27 | $taxonRepository, |
||
| 28 | 'taxons' |
||
| 29 | ); |
||
| 30 | } |
||
| 31 | |||
| 32 | function it_is_initializable(): void |
||
| 33 | { |
||
| 34 | $this->shouldHaveType(AttributeTaxonsBuilder::class); |
||
| 35 | $this->shouldHaveType(AbstractBuilder::class); |
||
| 36 | } |
||
| 37 | |||
| 38 | function it_implements_property_builder_interface(): void |
||
| 39 | { |
||
| 40 | $this->shouldHaveType(PropertyBuilderInterface::class); |
||
| 41 | } |
||
| 42 | |||
| 43 | function it_consumes_event(TransformEvent $event): void |
||
| 44 | { |
||
| 45 | $this->consumeEvent($event); |
||
| 46 | } |
||
| 48 |