TimestampEqualsRule extends AbstractRule { public static Rule getRule(final String value) { return new TimestampEqualsRule(value); } private  TimestampEqualsRule(final String value); static Rule getRule(final String value); @SuppressWarnings({"rawtypes", "unchecked"}) boolean evaluate(final LogData event, Map matches);  }
@Test public void test5() { try { TimestampEqualsRule.getRule("2008/May/21"); Assert.fail("IllegalArgumentException expected to be thrown"); } catch (IllegalArgumentException ignored) { } }