assertNotNull(gedcom.getSubmitter());
}
@Test
public void testToContributor1() throws Exception {
Submitter dqSubmitter = gedcom.getSubmitter();
TestConversionResult result = new TestConversionResult();
SubmitterMapper mapper = new SubmitterMapper();
// assert parts of the structure that give us code coverage but that are dropped by conversion process
assertEquals(dqSubmitter.getValue(), "__spec_deviation__value__");
assertEquals(dqSubmitter.getRin(), "12345");
assertEquals(((List<GedcomTag>)dqSubmitter.getExtensions().get("folg.more_tags")).size(), 1);
assertEquals(((List<GedcomTag>)dqSubmitter.getExtensions().get("folg.more_tags")).get(0).getTag(), "UID");
assertEquals(((List<GedcomTag>)dqSubmitter.getExtensions().get("folg.more_tags")).get(0).getValue(), "23456");
// execute conversion and test conversion outcome
mapper.toContributor(dqSubmitter, result);
assertNotNull(result.getContributors());
assertEquals(result.getContributors().size(), 1);