/** * @covers Governor\Framework\Domain\MetaData::__construct */ public function testCreateMetaData() { $metaDataValues = array('first' => 'value'); $metaData = new MetaData($metaDataValues); $metaDataValues['second'] = 'value'; $this->assertEquals('value', $metaData->get('first')); $this->assertFalse($metaData->has('second')); }