Creates a MockMenu with its own input and output streams
Creates a MockMenu that uses the input and output streams of the passed menu
Mocks the required writing to select the "exit menu" menu item
Mocks the writing of a line into the input stream
See Implementation