@Test(expected = IllegalArgumentException.class)
 public void testFromXmlName_UnknownXmlName() {
   IfMapCardinality result = IfMapCardinality.fromXmlName("UnknownXmlName");
 }
 @Test
 public void testFromXmlName_MultiValue() {
   IfMapCardinality result = IfMapCardinality.fromXmlName("multiValue");
   assertEquals(IfMapCardinality.MULTI_VALUE, result);
 }
 @Test(expected = IllegalArgumentException.class)
 public void testFromXmlName_null() {
   IfMapCardinality result = IfMapCardinality.fromXmlName(null);
 }
 @Test
 public void testFromXmlName_SingleValue() {
   IfMapCardinality result = IfMapCardinality.fromXmlName("singleValue");
   assertEquals(IfMapCardinality.SINGLE_VALUE, result);
 }