'Test setup component and check if service exits.'

def test_setup_component_test_service(self):

    with assert_setup_component(1):
        setup_component(self.hass, rc.DOMAIN, self.config)
    assert self.hass.services.has_service(rc.DOMAIN, 'test_get')
