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