'Setup demo platfrom on camera component.'

def test_setup_component(self):

    config = {camera.DOMAIN: {'platform': 'demo'}}
    with assert_setup_component(1, camera.DOMAIN):
        setup_component(self.hass, camera.DOMAIN, config)
