PrefixedWildcard implements MailboxNameExpression { @Override public boolean isWild() { return true; } PrefixedWildcard(String prefix); @Override boolean isExpressionMatch(String name); @Override String getCombinedName(); @Override boolean isWild(); @Override MailboxNameExpression includeChildren(); @Override final boolean equals(Object o); @Override final int hashCode();  }
@Test void isWildShouldReturnTrue() { assertThat(new PrefixedWildcard(NAME).isWild()) .isTrue(); }