def test_web_resource_simple_request_processing(self):
        web_resource = self._create_configured_web_resource(dict(__config__=dict(processor='pipeline.a_pipeline')))

        request = DummyRequest([''])

        batons = list()
        web_resource.processor_dependency.on_resource_ready(batons.append)

        # rendering the request should result in a baton being processed by the processor
        web_resource.render(request)
        self.assertEquals(batons, [dict(request=request)])