Improved assertions for testBulkDataExport()
This commit is contained in:
parent
334ce0e049
commit
4a5b62616c
|
@ -1289,6 +1289,8 @@ public class ServerCapabilityStatementProviderR4Test {
|
||||||
CapabilityStatementRestResourceComponent groupResource = resources.stream()
|
CapabilityStatementRestResourceComponent groupResource = resources.stream()
|
||||||
.filter(resource -> "Group".equals(resource.getType()))
|
.filter(resource -> "Group".equals(resource.getType()))
|
||||||
.findFirst().get();
|
.findFirst().get();
|
||||||
|
|
||||||
|
assertThat(toOperationNames(groupResource.getOperation()),containsInAnyOrder("export", "export-poll-status"));
|
||||||
}
|
}
|
||||||
|
|
||||||
private List<String> toOperationIdParts(List<CapabilityStatementRestResourceOperationComponent> theOperation) {
|
private List<String> toOperationIdParts(List<CapabilityStatementRestResourceOperationComponent> theOperation) {
|
||||||
|
|
Loading…
Reference in New Issue