old_contents: # Tai Sakuma <tai.sakuma@gmail.com>
  import sys
  
  import pytest
  
  try:
      import unittest.mock as mock
  except ImportError:
      import mock
  
  from alphatwirl.progressbar import BProgressMonitor, ProgressReporter
  
  ##__________________________________________________________________||
  @pytest.fixture()
  def presentation():
      return mock.MagicMock()
  
  @pytest.fixture()
  def monitor(presentation):
      return BProgressMonitor(presentation)
  
  
  ##__________________________________________________________________||
  def test_repr(monitor):
      repr(monitor)
  
  def test_begin_end(monitor):
      monitor.begin()
      monitor.end()
  
  def test_createReporter(monitor):
      assert isinstance(monitor.createReporter(), ProgressReporter)
  
  ##__________________________________________________________________||
  
new_contents: # Tai Sakuma <tai.sakuma@gmail.com>
  import sys
  
  import pytest
  
  try:
      import unittest.mock as mock
  except ImportError:
      import mock
  
  from alphatwirl.progressbar import BProgressMonitor, ProgressReporter, ProgressReport
  
  ##__________________________________________________________________||
  @pytest.fixture()
  def presentation():
      ret = mock.MagicMock()
      return ret
  
  @pytest.fixture()
  def monitor(presentation):
      return BProgressMonitor(presentation)
  
  
  ##__________________________________________________________________||
  def test_repr(monitor):
      repr(monitor)
  
  def test_begin_end(monitor):
      monitor.begin()
      monitor.end()
  
  def test_createReporter(monitor):
      reporter = monitor.createReporter()
      assert isinstance(reporter, ProgressReporter)
  
  def test_send_report(monitor, presentation):
      monitor.begin()
      reporter = monitor.createReporter()
      report = ProgressReport('task1', 0, 3)
      reporter.report(report)
      monitor.end()
  
  ##__________________________________________________________________||
  
subject: add test_send_report()