TriggerTempTarget extends Trigger { @Override public Optional<Integer> icon() { return Optional.of(R.drawable.ic_keyboard_tab); } TriggerTempTarget(); private  TriggerTempTarget(TriggerTempTarget triggerTempTarget); ComparatorExists getComparator(); @Override synchronized boolean shouldRun(); @Override synchronized String toJSON(); @Override int friendlyName(); @Override String friendlyDescription(); @Override Optional<Integer> icon(); @Override Trigger duplicate(); TriggerTempTarget comparator(ComparatorExists.Compare compare); @Override void generateDialog(LinearLayout root, FragmentManager fragmentManager);  }
@Test public void iconTest() { Assert.assertEquals(Optional.of(R.drawable.ic_keyboard_tab), new TriggerTempTarget().icon()); }