@Test
public void testRemoveMiddle() {

    SafeIterableMap<Integer, Integer> map = from(1, 2, 3, 4).to(10, 20, 30, 40);
    assertThat(map.remove(2), is(20));
    assertThat(map.remove(3), is(30));
    assertThat(map, is(from(1, 4).to(10, 40)));
}