@Test
public void testCreateMetadataElement() {

    MetadataElement elem;
    String suffix;
    suffix = "suffix";
    elem = BaseRecord.createMetadataElement("name", suffix);
    assertNotNull(elem);
    assertEquals("name suffix", elem.getName());
    suffix = "   ";
    elem = BaseRecord.createMetadataElement("name", suffix);
    assertNotNull(elem);
    assertEquals("name", elem.getName());
    suffix = "";
    elem = BaseRecord.createMetadataElement("name", suffix);
    assertNotNull(elem);
    assertEquals("name", elem.getName());
    suffix = null;
    elem = BaseRecord.createMetadataElement("name", suffix);
    assertNotNull(elem);
    assertEquals("name", elem.getName());
}