@Test public void testIfMarkingInSameSpotTwiceWorksAsItShould() { TicTacToeGUI board = new TicTacToeGUI(); board.setMark(0, 0); board.setMark(1, 1); board.setMark(1, 1); assertEquals(Mark.X_MARK, board.getTurn()); }