public function testCountableInterface()
 {
     $t1 = new WordToken('a');
     $t2 = new WordToken('b');
     $r = new TokenRegistry();
     $r->add($t1);
     $this->assertEquals(1, $r->count());
     $r->add($t2);
     $this->assertEquals(2, $r->count());
 }