public function testTabulators()
{
$tokenizer = new Tokenizer();
$file = $tokenizer->tokenize('foo.php', "<?php\n\t");
$file->rewind();
$file->seekTokenType(T_WHITESPACE);
$rule = new DisallowTabulators();
$rule->visitToken($file);
$this->assertRuleViolations($file, array(array('line' => 2, 'column' => 1, 'message' => 'Tabulator found', 'source' => 'Flitch\\Whitespace\\DisallowTabulators')));
}