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