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