public function testGetName($xmlString, $expectedName) { $value = new Value($xmlString); $fieldType = $this->getFieldType(); $this->assertEquals($expectedName, $fieldType->getName($value)); }