/** * @covers phpDocumentor\Event\DebugEvent::getContext * @covers phpDocumentor\Event\DebugEvent::setContext */ public function testSupplyAContextArrayForTheMessage() { $context = array('test' => 'test2'); $this->assertSame(array(), $this->fixture->getContext()); $this->fixture->setContext($context); $this->assertSame($context, $this->fixture->getContext()); }