HammingMatcher extends AbstractAttributeMatcher { @Override public AttributeMatcherType getMatchType() { return AttributeMatcherType.HAMMING; }  @Override AttributeMatcherType getMatchType(); @Override double getWeight(String record1, String record2);  }
@Test public void testGetMatchType() { assertEquals(AttributeMatcherType.HAMMING, new HammingMatcher().getMatchType()); assertEquals("HAMMING", new HammingMatcher().getMatchType().name()); assertEquals("Hamming", new HammingMatcher().getMatchType().getLabel()); assertEquals("HAMMING", new HammingMatcher().getMatchType().toString()); }