],
[ '1000', // productNumber
'product', // part of name
'test', // part of name
],
],
'test it uses correct languages for association' =>
[ (new ProductBuilder($idsCollection, '1000'
)) ->
price(10
) ->
name('Test product'
) ->
manufacturer('manufacturer',
['de-DE' =>
['name' => 'Hersteller'
]]) ->
build(),
$idsCollection,
[ '1000', // productNumber
'manufacturer', // manufacturer name
'product', // part of name
'test', // part of name
],
[ '1000', // productNumber
'Hersteller', // manufacturer name