/**
* @covers PHPExiftool\Driver\Metadata\MetadataBag::filterKeysByRegExp
*/
public function testFilterKeysByRegExp()
{
$this->object->set('oneKey', 'oneValue');
$this->object->set('oneSecondKey', 'anotherValue');
$this->object->set('thirdKey', 'thirdValue');
$this->assertEquals(2, count($this->object->filterKeysByRegExp('/one.*/')));
}