| Total Complexity | 4 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 22 | final class ProductNameBuilderSpec extends ObjectBehavior |
||
| 23 | { |
||
| 24 | function let(ConcatedNameResolverInterface $productNameNameResolver): void |
||
|
|
|||
| 25 | { |
||
| 26 | $this->beConstructedWith($productNameNameResolver); |
||
| 27 | } |
||
| 28 | |||
| 29 | function it_is_initializable(): void |
||
| 30 | { |
||
| 31 | $this->shouldHaveType(ProductNameBuilder::class); |
||
| 32 | $this->shouldHaveType(AbstractBuilder::class); |
||
| 33 | } |
||
| 34 | |||
| 35 | function it_implements_property_builder_interface(): void |
||
| 38 | } |
||
| 39 | |||
| 40 | function it_consumes_event(TransformEvent $event): void |
||
| 43 | } |
||
| 44 | } |
||
| 45 |
Adding explicit visibility (
private,protected, orpublic) is generally recommend to communicate to other developers how, and from where this method is intended to be used.