'Dicts with ``name`` and a numerical ``selfLink`` and no ``zone`` raise
an error that will help in debugging.'

def test_global_numerical_selfLink(self):

    name = u'RARENAME'
    selfLink = 123
    self.assertThat((lambda : _create_poller({u'name': name, u'selfLink': selfLink})), Raises(MatchesException(MalformedOperation, MatchesStructure(message=MatchesAll(Contains(unicode(selfLink)), Contains('/global/operations/'), Contains('selfLink'), Contains(name))))))
