Merge pull request #867 from jasonaowen/master

Fix methods that check for names in lists
This commit is contained in:
James Agnew 2018-05-23 06:08:55 -04:00 committed by GitHub
commit 6da4ec1156
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,29 @@
package org.hl7.fhir.dstu3.model;
import org.junit.Ignore;
import org.junit.Test;
import static org.junit.Assert.*;
public class HumanNameDstu3Test {
@Ignore("Issue #865")
@Test
public void hasGivenFindsParameter() {
HumanName humanName = new HumanName().addGiven("test");
assertTrue(humanName.hasGiven("test"));
}
@Ignore("Issue #865")
@Test
public void hasPrefixFindsParameter() {
HumanName humanName = new HumanName().addPrefix("test");
assertTrue(humanName.hasPrefix("test"));
}
@Ignore("Issue #865")
@Test
public void hasSuffixFindsParameter() {
HumanName humanName = new HumanName().addSuffix("test");
assertTrue(humanName.hasSuffix("test"));
}
}