@Test
public void testToPropertyValue() throws Exception {

    assertNull(dao.toStorageValue(null));
    assertEquals(1, dao.toStorageValue(1));
    assertEquals("test", dao.toStorageValue("test"));
    UUID id = UUID.randomUUID();
    assertEquals(id.toString(), dao.toStorageValue(id));
    Instant time = Instant.now();
    assertEquals(time.toEpochMilli(), dao.toStorageValue(time));
}