private List<Map<String, Object>> getData(final String id) {
        return inMemoryProfileService.read(Arrays.asList("id", "username", "linkedid", "password", "serializedprofile"), "id", id);
    }
Tests the {@link InMemoryProfileService}.

@author Elie Roux
@since 2.1.0
pac4j-core/src/test/java/org/pac4j/core/profile/service/InMemoryProfileServiceTests.java