@Override
    public Set<GrokPattern> loadAll() {
        return Sets.newHashSet(store.values());
    }
@Test
    public void loadAll() throws Exception {
        GrokPattern pattern1 = service.save(GrokPattern.create("NAME1", ".*"));
        GrokPattern pattern2 = service.save(GrokPattern.create("NAME2", ".*"));
        GrokPattern pattern3 = service.save(GrokPattern.create("NAME3", ".*"));

        assertThat(service.loadAll()).containsExactlyInAnyOrder(pattern1, pattern2, pattern3);
    }