/** * Test value. * * @param Operation $operation * The operation to perform tests on. * * @dataProvider operationDataProvider */ public function testValue(Operation $operation) { $operation->setMetadata('value', 'myvalue'); $check = $operation->getMetadata('value'); $this->assertSame('myvalue', $check, 'Correct value was not set.'); }