/**
* @internal
*
* @covers \Shopware\Core\Installer\Requirements\Struct\RequirementsCheckCollection
*/
class RequirementsCheckCollectionTest extends TestCase
{ public function testGetExpectedClass(): void
{ $collection =
new RequirementsCheckCollection();
$collection->
add(new PathCheck('name', RequirementCheck::STATUS_SUCCESS
));
static::
expectException(\InvalidArgumentException::
class);
$collection->
add(new ProductEntity()); /** @phpstan-ignore-line */
} /**
* @param RequirementCheck[] $elements
* @param RequirementCheck[] $expected
*
* @dataProvider pathCheckProvider
*/