'L{Data.render} raises L{UnsupportedMethod} in response to a non-I{GET},
non-I{HEAD} request.'

def test_invalidMethod(self):

    data = static.Data('foo', 'bar')
    request = DummyRequest([''])
    request.method = 'POST'
    self.assertRaises(UnsupportedMethod, data.render, request)
