public function testKey() { $this->consumer->setKey('foo'); $this->assertSame('foo', $this->consumer->getKey()); }