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

def test_global_no_selfLink(self):

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