TriggerTimeRange extends Trigger { @Override public String friendlyDescription() { return MainApp.gs(R.string.timerange_value, DateUtil.timeString(toMilis(start) - timeZoneOffset), DateUtil.timeString(toMilis(end) - timeZoneOffset)); } TriggerTimeRange(); private  TriggerTimeRange(TriggerTimeRange triggerTimeRange); @Override boolean shouldRun(); @Override String toJSON(); @Override int friendlyName(); @Override String friendlyDescription(); @Override Optional<Integer> icon(); @Override Trigger duplicate(); int getMinSinceMidnight(long time); @Override void generateDialog(LinearLayout root, FragmentManager fragmentManager);  }
@Test public void friendlyDescriptionTest() { Assert.assertEquals(null, new TriggerTimeRange().friendlyDescription()); }