TriggerProfilePercent extends Trigger { @Override public Optional<Integer> icon() { return Optional.of(R.drawable.icon_actions_profileswitch); } 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 iconTest() { Assert.assertEquals(Optional.of(R.drawable.icon_actions_profileswitch), new TriggerProfilePercent().icon()); }