'Setup demo platfrom on image_process component test service.'

def test_setup_component_with_service(self):

    config = {ip.DOMAIN: {'platform': 'demo'}}
    with assert_setup_component(1, ip.DOMAIN):
        setup_component(self.hass, ip.DOMAIN, config)
    assert self.hass.services.has_service(ip.DOMAIN, 'scan')
