public function setUp()
 {
     $this->container = m::mock('Symfony\\Component\\DependencyInjection\\ContainerInterface');
     $service = m::mock('\\stdClass');
     $service->shouldReceive('consume')->with('foobar')->once();
     $this->container->shouldReceive('get')->with('consumer.bar')->once()->andReturn($service);
 }