public function testCustomLimits()
{
$rule = new MaxLength();
$rule->setErrorLimit(120);
$rule->visitFile($this->file);
$this->assertRuleViolations($this->file, array(array('line' => 1, 'column' => 0, 'message' => 'Line is longer than 120 characters', 'source' => 'Flitch\\Line\\MaxLength')));
}