@Test void initShouldThrowOnAbsentCondition() { assertThatThrownBy(() -> testee.init(FakeMatcherConfig.builder().matcherName("name").build())) .isInstanceOf(MessagingException.class); }
@Override public void init() throws MessagingException { maximumLineCount = MailetUtil.getInitParameterAsStrictlyPositiveInteger(getCondition()); }
TooManyLines extends GenericMatcher { @Override public void init() throws MessagingException { maximumLineCount = MailetUtil.getInitParameterAsStrictlyPositiveInteger(getCondition()); } }
TooManyLines extends GenericMatcher { @Override public void init() throws MessagingException { maximumLineCount = MailetUtil.getInitParameterAsStrictlyPositiveInteger(getCondition()); }  }
TooManyLines extends GenericMatcher { @Override public void init() throws MessagingException { maximumLineCount = MailetUtil.getInitParameterAsStrictlyPositiveInteger(getCondition()); }  @Override void init(); @Override Collection<MailAddress> match(Mail mail); }
TooManyLines extends GenericMatcher { @Override public void init() throws MessagingException { maximumLineCount = MailetUtil.getInitParameterAsStrictlyPositiveInteger(getCondition()); }  @Override void init(); @Override Collection<MailAddress> match(Mail mail);  }