/** Test method for {@link net.sb.io.UserDictionaryInformation#setStates()}. */
 @Test
 public void testSetStates() {
   words = instance.readDictionary();
   instance.getStates();
   instance.setState(2, 1);
   instance.writeToFile();
   instance = new UserDictionaryInformation("dictionary", "a", "wthtest");
   assertEquals(1, instance.getStates()[2]);
 }
 /** Test method for {@link net.sb.io.UserDictionaryInformation#setLast()}. */
 @Test
 public void testSetLast() {
   instance.setLast(10);
   instance.writeToFile();
   assertEquals(10, instance.getLast());
 }