'Would almost always fail (despite of right at/after midnight) if
untestable production code would have been used.'

def test_display_current_time_at_midnight(self):

    time_provider_stub = MidnightTimeProvider()
    class_under_test = TimeDisplay()
    expected_time = '<span    class="tinyBoldText">24:01</span>'
    self.assertEqual(class_under_test.get_current_time_as_html_fragment(time_provider_stub), expected_time)
