|
@@ 44-46 (lines=3) @@
|
| 41 |
|
if (array_key_exists('variantUuid', $data[$index])) { |
| 42 |
|
self::assertSame($data[$index]['variantUuid'], (string) $product->getVariantUuid()); |
| 43 |
|
} |
| 44 |
|
if (array_key_exists('name', $data[$index])) { |
| 45 |
|
self::assertSame($data[$index]['name'], $product->getName()); |
| 46 |
|
} |
| 47 |
|
if (array_key_exists('variantName', $data[$index])) { |
| 48 |
|
self::assertSame($data[$index]['variantName'], $product->getVariantName()); |
| 49 |
|
} |
|
@@ 47-49 (lines=3) @@
|
| 44 |
|
if (array_key_exists('name', $data[$index])) { |
| 45 |
|
self::assertSame($data[$index]['name'], $product->getName()); |
| 46 |
|
} |
| 47 |
|
if (array_key_exists('variantName', $data[$index])) { |
| 48 |
|
self::assertSame($data[$index]['variantName'], $product->getVariantName()); |
| 49 |
|
} |
| 50 |
|
if (array_key_exists('imageLookupKey', $data[$index])) { |
| 51 |
|
self::assertInstanceOf(Image::class, $product->getImageLookupKey()); |
| 52 |
|
self::assertSame($data[$index]['imageLookupKey'], $product->getImageLookupKey()->getFilename()); |