@Test
public void testGetAll()
{

    PersonStore store = new PersonStore(new StoreConfig(), ticker);
    store.put("foo", createPerson("foo@example.com", "Mr Foo"));
    store.put("bar", createPerson("bar@example.com", "Mr Bar"));
    Collection<StoreEntry> entries = store.getAll();
    assertThat(entries).hasSize(2);
    assertThat(entries)
            .filteredOn("id", "foo")
            .extracting("person")
            .containsExactly(createPerson("foo@example.com", "Mr Foo"));
    assertThat(entries)
            .filteredOn("id", "bar")
            .extracting("person")
            .containsExactly(createPerson("bar@example.com", "Mr Bar"));
}