'L{Names.iterconstants} returns an iterator over all of the constants
defined in the class, in the order they were defined.'

def test_iterconstants(self):

    constants = list(self.METHOD.iterconstants())
    self.assertEqual([self.METHOD.GET, self.METHOD.PUT, self.METHOD.POST, self.METHOD.DELETE], constants)
