code: def test_logging_methods(self):
      with catch_stdout() as out:
          logs = TerminalLogger()
  
          Case = namedtuple("Case", "method msg_args expectation")
          test_cases = (
              Case(
                  logs.write,
                  msg_args=["Simple text"],
                  expectation="Simple text",
              ),
              Case(
                  logs.message,
                  msg_args=["TEST", "Message"],
                  expectation=r"\[.*TEST.*\] Message",
              ),
              Case(
                  logs.title,
                  msg_args=["Title"],
                  expectation=r"\n.*Title.*\n",
              ),
          )
  
          for test_case in test_cases:
              test_case.method(*test_case.msg_args)
              terminal_output = out.getvalue()
              self.assertRegexpMatches(
                  terminal_output, test_case.expectation
              )
  
file_path: neupy/tests/core/test_logging.py
imports: from __future__ import unicode_literals
  from collections import namedtuple
  from neupy.core import logs
  from neupy.core.logs import Verbose, TerminalLogger
  from base import BaseTestCase
  from helpers import catch_stdout
label_desc: Use image node_id 3 for calling the LoggingTestCase obj's underlying member method code with example usage: obj.test_logging_methods() without return types