private void receiveInputTest() 
    {
        //Declares and initialises a scanner
        Scanner inputScanner = new Scanner(new InputStreamReader(System.in));
        //Decclares and initalises a variable for storing input from scanner.
        int input = 0;
        //Prints statement requesting input.
        System.out.println("Please repeat the output:");
        // User input prompt
        System.out.print(">");
        //A loop conditional on user input being the same length as user output
        while (inputList.size()!=output.getOutputList().size())
        {         
            //Checks if input is integer
            if(inputScanner.hasNextInt())
            {   
                //Stores integer to input variable
                input = inputScanner.nextInt();    
            }
            else
            {
                //Prints statement requesting valid input
                System.out.println("Please enter a valid input");
                //Moves scanner to next line to avoid infinite loop
                inputScanner.nextLine();
            }
            // Check for press of button and play appropriate tone.
            // Need to press enter to pass input.
            // Add entered input to inputList.
            if (input == 1)
            {
                toneC.playNPause();
                inputList.add(1);           
            }
            else if (input == 3)
            {
                toneE.playNPause();
                inputList.add(3);
            }
            else if (input == 5)
            {
                toneG.playNPause();
                inputList.add(5);
            }
            else if (input == 7)
            {
                toneB.playNPause();
                inputList.add(7);
            }
            else
            {
                 System.out.println("Please enter a valid input (1, 3, 5 or 7");               
            }
        }
        //Temporary means of clearing screen within the netbeans IDE
        if(input!=0)
        {
            System.out.println("\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"
            + "\n\n\n");
        }
    }