HashedStringFieldType type = new HashedStringFieldType(new HashedStringFieldData.HashedStringTypeLoader(0,0, null, null));
SingleValueHashedStringFieldData sFieldData = (SingleValueHashedStringFieldData) type.load(reader, "svalue");
assert (sFieldData.fieldName().equals("svalue"));
assert (!sFieldData.multiValued());
assertThat(sFieldData.collisions(),equalTo(0));
assertHash("zzz", sFieldData.hashValue(0));
assertFieldWithSet(sFieldData, 0, new String[] { "zzz"});