mirror of
https://github.com/hapifhir/hapi-fhir.git
synced 2025-02-22 13:55:22 +00:00
Merge pull request #867 from jasonaowen/master
Fix methods that check for names in lists
This commit is contained in:
commit
6da4ec1156
@ -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"));
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user