'Test setup with resource missing schema.'

def test_setup_missing_schema(self):

    with self.assertRaises(MissingSchema):
        rest.setup_platform(self.hass, {'platform': 'rest', 'resource': 'localhost', 'method': 'GET'}, None)
