    @Test
    public void testPetstoreEndpoints() {

        OpenApiEndpointSource source = new OpenApiEndpointSource();
        Iterable<EndpointSource.Endpoint> endpoints = source.listEndpoints();

        // Extract a set of string representations of endpoints
        Set<String> endpointStrings = StreamSupport
            .stream(endpoints.spliterator(), false)
            .map(Object::toString)
            .collect(Collectors.toSet());
        
        for (String endpoint: EXPECTED) {
        	assertTrue(endpointStrings.contains(endpoint));
        }

    }