ActionStopTempTarget extends Action { @Override public Optional<Integer> icon() { return Optional.of(R.drawable.ic_stop_24dp); } ActionStopTempTarget(); @Override int friendlyName(); @Override String shortDescription(); @Override void doAction(Callback callback); @Override boolean hasDialog(); @Override String toJSON(); @Override Action fromJSON(String data); @Override Optional<Integer> icon();  }
@Test public void iconTest() { Assert.assertEquals(Optional.of(R.drawable.ic_stop_24dp), actionStopTempTarget.icon()); }