TriggerProfilePercent extends Trigger { @Override public int friendlyName() { return R.string.profilepercentage; } TriggerProfilePercent(); private  TriggerProfilePercent(TriggerProfilePercent triggerProfilePercent); double getValue(); Comparator getComparator(); long getLastRun(); @Override synchronized boolean shouldRun(); @Override synchronized String toJSON(); @Override int friendlyName(); @Override String friendlyDescription(); @Override Optional<Integer> icon(); @Override Trigger duplicate(); TriggerProfilePercent setValue(double value); TriggerProfilePercent comparator(Comparator.Compare compare); @Override void generateDialog(LinearLayout root, FragmentManager fragmentManager);  }
@Test public void friendlyNameTest() { Assert.assertEquals(R.string.profilepercentage, new TriggerProfilePercent().friendlyName()); }