mirror of
https://github.com/hapifhir/hapi-fhir.git
synced 2025-02-18 10:55:22 +00:00
Add test
This commit is contained in:
parent
13fbdf418f
commit
ac9a371f18
@ -0,0 +1,21 @@
|
||||
package ca.uhn.fhir.rest.param;
|
||||
|
||||
import com.google.common.collect.Sets;
|
||||
import org.junit.Test;
|
||||
|
||||
import static org.junit.Assert.*;
|
||||
|
||||
public class QualifierDetailsTest {
|
||||
|
||||
@Test
|
||||
public void testBlacklist() {
|
||||
|
||||
QualifierDetails details = new QualifierDetails();
|
||||
details.setColonQualifier(":Patient");
|
||||
assertFalse(details.passes(null, Sets.newHashSet(":Patient")));
|
||||
assertTrue(details.passes(null, Sets.newHashSet(":Observation")));
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user