'Test for failing with no state topic.'

def test_fail_setup_without_state_topic(self):

    with assert_setup_component(0) as config:
        assert setup_component(self.hass, alarm_control_panel.DOMAIN, {alarm_control_panel.DOMAIN: {'platform': 'mqtt_alarm', 'command_topic': 'alarm/command'}})
        assert (not config[alarm_control_panel.DOMAIN])
