@SuppressWarnings({ "unused", "static-access" })
	@Test
	public void testWinner() throws WinnerErrorException, BoardErrorException, ButtonsNotMadeException, ButtonCanNotBeClickedException{ // testing to ensure there can be a winner

		JFrame frame = null;
		Game choice = new Game(frame); //object of the Game board 
		GUI gui = new GUI();

		// assertEquals("XXX      ",choice.winner() ); // should return a winner
		//testing the boardtemplateOfBoard[0] = 'X';

		choice.getBoard()[0] = 'X';
		choice.getBoard()[1] = 'X';
		choice.getBoard()[2] = 'X';
		choice.getBoard()[3] = 'X';
		choice.getBoard()[4] = 'X';
		choice.getBoard()[5] = 'X';
		choice.getBoard()[6] = 'O';
		choice.getBoard()[7] = 'X';
		choice.getBoard()[8] = 'O';  
		
		for(int i =0; i<gui.sizeOfBoard;i++){ // going to fill the board with clickableButtons by looping through every index and placing a button there 
			final int move = i;

			gui.clickButton[i] = new JButton(); // at a certain index there is a new button 
		}
		gui.choice.winner(); //the ensure that winner works
	}