public function testCreate()
 {
     $product = $this->dummyData->getProduct();
     $attribute = $this->dummyData->getAttribute();
     $attributeValue = $this->dummyData->getAttributeValue();
     $productAttribute = new ProductAttribute($product, $attribute, $attributeValue);
     $this->assertSame($product, $productAttribute->getProduct());
     $this->assertSame($attribute, $productAttribute->getAttribute());
     $this->assertSame($attributeValue, $productAttribute->getAttributeValue());
 }
 /**
  * @return static
  */
 public function withAttributeValue()
 {
     $this->entityDTO->attributeValue = $this->dtoBuilderFactory->getAttributeValueDTOBuilder($this->entity->getAttributeValue())->build();
     return $this;
 }