final ConsoleListener listener0 = new ConsoleListener(myMonitor, m_logger);  final MessageHandler messageHandler = listener0.getMessageHandler(); assertNotNull(messageHandler);
new ConsoleListener(myMonitor, m_logger);
  public void testConstruction() throws Exception {    final Monitor myMonitor = new Monitor();    final ConsoleListener listener0 =      new ConsoleListener(myMonitor, m_logger);    final MessageHandler messageHandler = listener0.getMessageHandler();    assertNotNull(messageHandler);    m_loggerFactory.assertNoMoreCalls();  }