protected StreamRuleMatcher getMatcher(StreamRule rule) { StreamRuleMatcher matcher = super.getMatcher(rule); assertEquals(matcher.getClass(), RegexMatcher.class); return matcher; }