@Test
  public void test1() {
    LevelEqualsRule rule = (LevelEqualsRule) LevelEqualsRule.getRule("info");
    LoggingEvent event = new LoggingEvent("org.apache.log4j.Logger", "root", System.currentTimeMillis(), Level.INFO, "Hello, World", null);
    assertTrue(rule.evaluate(Log4jUtil.translateLog4j(event), null));
  }
Tests evaluate when levels are equal.
olv-core/src/test/java/pl/otros/logview/accept/query/org/apache/log4j/rule/LevelEqualsRuleTest.java