'Test for firing if everything matches.'

def test_if_fires_when_all_matches(self):

    assert setup_component(self.hass, automation.DOMAIN, {automation.DOMAIN: {'trigger': {'platform': 'time', 'hours': 1, 'minutes': 2, 'seconds': 3}, 'action': {'service': 'test.automation'}}})
    fire_time_changed(self.hass, dt_util.utcnow().replace(hour=1, minute=2, second=3))
    self.hass.block_till_done()
    self.assertEqual(1, len(self.calls))
