TriggerTime extends Trigger { @Override public int friendlyName() { return R.string.time; } TriggerTime(); private  TriggerTime(TriggerTime triggerTime); @Override boolean shouldRun(); @Override String toJSON(); @Override int friendlyName(); @Override String friendlyDescription(); @Override Optional<Integer> icon(); @Override Trigger duplicate(); @Override void generateDialog(LinearLayout root, FragmentManager fragmentManager);  }
@Test public void friendlyNameTest() { Assert.assertEquals(R.string.time, new TriggerTime().friendlyName()); }