TriggerTimeRange extends Trigger { @Override public int friendlyName() { return R.string.time_range; } 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 friendlyNameTest() { Assert.assertEquals(R.string.time_range, new TriggerTimeRange().friendlyName()); }