'"Test the sending of a new message if time event.'

@patch('homeassistant.components.mqtt.async_publish')
def test_time_event_does_not_send_message(self, mock_pub):

    assert self.add_eventstream(pub_topic='bar')
    self.hass.block_till_done()
    mock_pub.reset_mock()
    fire_time_changed(self.hass, dt_util.utcnow())
    assert (not mock_pub.called)
