TriggerWifiSsid extends Trigger { @Override public Optional<Integer> icon() { return Optional.of(R.drawable.ic_network_wifi); } TriggerWifiSsid(); private  TriggerWifiSsid(TriggerWifiSsid triggerWifiSsid); String getValue(); Comparator getComparator(); @Override synchronized boolean shouldRun(); @Override synchronized 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 iconTest() { Assert.assertEquals(Optional.of(R.drawable.ic_network_wifi), new TriggerWifiSsid().icon()); }