@POST
    @ApiOperation("Get all views that match given parameter value")
    @NoAuditEvent("Only returning matching views, not changing any data")
    public Collection<ViewParameterSummaryDTO> forParameter(@Context SearchUser searchUser) {
        return qualifyingViewsService.forValue()
                .stream()
                .filter(searchUser::canReadView)
                .collect(Collectors.toSet());
    }
@Test
    public void returnsNoViewsIfNoneArePresent() {
        final SearchUser searchUser = TestSearchUser.builder().build();

        QualifyingViewsService service = mockViewsService();
        final QualifyingViewsResource resource = new QualifyingViewsResource(service);

        final Collection<ViewParameterSummaryDTO> result = resource.forParameter(searchUser);
        assertThat(result).isEmpty();
    }