Field implements IField { @Override public boolean isTouched() { return isTouched; } Field(); private  Field(int state); @Override void addListener(IFieldListener listener); @Override boolean isBomb(); @Override boolean isFlagged(); @Override boolean isOpen(); @Override boolean isExploded(); @Override void removeListener(final IFieldListener listener); @Override boolean isTouched(); void setFlagged(final boolean value); int getState(); static Field createFromState(int state); @Override int getNeighborBombs(); @Override int getImage(); @Override int hashCode(); @Override boolean equals(Object obj);  }
@Test public void testIsTouched() { itsField.setTouched(true); assertEquals(true, itsField.isTouched()); }