private boolean equals(Set<String> expected, String actualRaw) {
        final List<String> lines = new ArrayList<>(Arrays.asList(actualRaw.split(System.getProperty("line.separator"))));

        return lines.stream()
                .filter( e -> !e.isEmpty() && e.charAt(0) != '#' )
                .allMatch(expected::contains);
    }
Prometheus scrape metrics tests.

@author Marc Savy {@literal <msavy@redhat.com>}
gateway/engine/prometheus/src/test/java/io/apiman/gateway/engine/prometheus/BasicMetricsTest.java