Game implements IGame { @Override public boolean isStarted() { return isMined(); } Game(final int dimX, final int dimY, final int bombs, final IBoardMiner miner); private  Game(final GameState state, final IBoardMiner miner); @Override void addListener(final IMinesGameListener listener); @Override IBoard getBoard(); @Override int getBombCount(); @Override void onRequestFlag(final IField fieldInterface); @Override void onRequestOpen(final IField fieldInterface); @Override boolean isStarted(); @Override boolean isRunning(); @Override void removeListener(final IMinesGameListener listener); @Override String toString(); static Game createFromState(final GameState state, final IBoardMiner miner); GameState getState(); @Override IStopWatch getWatch(); @Override void tickWatch(); @Override int hashCode(); @Override boolean equals(Object obj);  }
@Test public void testIsStarted() { assertEquals(false, itsGame2by1.isStarted()); openAt(0, 0, itsGame2by1); assertEquals(true, itsGame2by1.isStarted()); }
@Test public void testFlaggingStartsGame() { assertEquals(false, itsGame2by1.isStarted()); flagAt(0, 0, itsGame2by1); assertEquals(true, itsGame2by1.isStarted()); }