function it_runs_the_suite(XmlLinter $linter, ContextInterface $context)
{
$linter->isInstalled()->willReturn(true);
$linter->setLoadFromNet(false)->shouldBeCalled();
$linter->setXInclude(false)->shouldBeCalled();
$linter->setDtdValidation(false)->shouldBeCalled();
$linter->setSchemeValidation(false)->shouldBeCalled();
$linter->lint(Argument::type('SplFileInfo'))->willReturn(new LintErrorsCollection());
$context->getFiles()->willReturn(new FilesCollection([new SplFileInfo('file.xml', '.', 'file.xml')]));
$result = $this->run($context);
$result->shouldBeAnInstanceOf(TaskResultInterface::class);
$result->isPassed()->shouldBe(true);
}