@Test
public void shouldGetPopulatedValuesWhenIterating() {

  Slice<String, String> slice = new Slice<>("default");
  slice.set("foo", "bar");
  slice.set("bar", "foo");
  List<String> all = StreamSupport.stream(slice.spliterator(), false).collect(Collectors.toList());
  assertEquals(2, all.size());
  assertTrue(all.contains("foo"));
  assertTrue(all.contains("bar"));
}