public function testCommandThrowsHelpfulExceptionWithInvalidPaths($sourcePath, $rulesetPath, $mentionedArgument)
{
$this->setExpectedException('InvalidArgumentException', sprintf('%s argument is invalid: "%s" is not a path.', $mentionedArgument, 'Rule set' === $mentionedArgument ? $rulesetPath : $sourcePath));
$this->executeCommand($sourcePath, $rulesetPath);
}