@Test
void get_whenElementRemoved_thenElementRemovedFromAggregation() {

    TestState stateOne = new TestState(Id.create(1), CoordinateLikeTestObject.ORIGIN, 1);
    TestState stateTwo = new TestState(Id.create(2), CoordinateLikeTestObject.ORIGIN, 3);
    cache.addAll(ImmutableSet.of(stateOne, stateTwo));
    cache.delete(stateTwo.getId());
    assertThat(groupByAggregation.get(CoordinateLikeTestObject.ORIGIN)).isEqualTo(1);
}