'Test set up the platform with bad/missing config.'

def test_bad_config(self):

    config = {notify.DOMAIN: {'name': 'test', 'platform': 'file'}}
    with assert_setup_component(0) as handle_config:
        assert setup_component(self.hass, notify.DOMAIN, config)
    assert (not handle_config[notify.DOMAIN])
