Improved assertions for testBulkDataExport()

This commit is contained in:
Kevin Hartmann 2021-04-27 15:01:03 -04:00
parent 334ce0e049
commit 4a5b62616c
1 changed files with 2 additions and 0 deletions

View File

@ -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) {