@Test
void remove() {

    assertThrows(NullPointerException.class, () -> instance.remove(null));
    assertThrows(IllegalStateException.class, () -> instance.remove(1));
    assertDoesNotThrow(() -> instance.remove("string"));
}