'Dicts with no ``name`` raise an error that helps with debugging.'

def test_no_name(self):

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