function it_throws_an_exception_if_both_excluded_and_includes_routes_configured()
{
$configuration = <<<EOT
alias: sylius.product
except: ['show', 'delete']
only: ['create']
EOT;
$this->shouldThrow(\InvalidArgumentException::class)->during('load', [$configuration, 'sylius.resource']);
}