SoundexMatcher extends AbstractAttributeMatcher { @Override public AttributeMatcherType getMatchType() { return AttributeMatcherType.SOUNDEX; }  @Override double getWeight(String str1, String str2); @Override AttributeMatcherType getMatchType();  }
@Test public void testGetMatchType() { assertEquals(AttributeMatcherType.SOUNDEX, new SoundexMatcher().getMatchType()); assertEquals("SOUNDEX", new SoundexMatcher().getMatchType().name()); assertEquals("Soundex", new SoundexMatcher().getMatchType().getLabel()); assertEquals("SOUNDEX", new SoundexMatcher().getMatchType().toString()); }