<?php

use App\Services\Inventory\CoverageCapabilitiesResolver;

it('derives dependency support deterministically from graph contracts', function (string $type, bool $expected) {
    $resolver = app(CoverageCapabilitiesResolver::class);

    expect($resolver->supportsDependencies($type))->toBe($expected);
})->with([
    'settingsCatalogPolicy' => ['settingsCatalogPolicy', true],
    'deviceConfiguration' => ['deviceConfiguration', true],
    'conditionalAccessPolicy' => ['conditionalAccessPolicy', false],
    'roleScopeTag (foundation, MVP)' => ['roleScopeTag', false],
]);
