class SenderHostIs extends GenericMatcher {

    @VisibleForTesting Collection<Domain> parseDomainsList(String condition) {
        return Splitter.onPattern("(, |,| )")
            .omitEmptyStrings()
            .splitToList(condition)
            .stream()
            .map(Domain::of)
            .collect(Guavate.toImmutableList());
    }

}