@Test
void persist() {

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