assertTrue(!alerts.contains(serviceAlert3));
assertTrue(alerts.contains(serviceAlert4));
}
private TimeRange createTimeRange(long start, long end) {
Builder timeRangeBuilder = TimeRange.newBuilder();
if (start != 0)
timeRangeBuilder.setStart(start);
if (end != 0)
timeRangeBuilder.setEnd(end);
TimeRange timeRange = timeRangeBuilder.build();
return timeRange;
}