@Test
void update() {

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