public function testSettingTokenizers()
 {
     $hyphenator = new h\Hyphenator();
     $dict = new h\Tokenizer\WhitespaceTokenizer();
     $hyphenator->addTokenizer($dict);
     $this->assertInstanceof('\\Org\\Heigl\\Hyphenator\\Tokenizer\\TokenizerRegistry', $hyphenator->getTokenizers());
     $this->assertSame($dict, $hyphenator->getTokenizers()->getTokenizerWithKey(0));
 }