@Test
    public void testLastChangedUpdate() throws IOException {
        System.out.println("LastChangedUpdate");
        try {
            modifyElement(); // Ändere eine Datei

            NoteEntity e = service.readNoteEntity(UUID.fromString(MODIFY_TESTFILE_UUID));
            long beforeChange = e.getLastSavedOn();
            e.setTitle("modified Title");
            service.writeNoteEntity(e);
            long afterChange = e.getLastSavedOn();

            assertTrue(afterChange > beforeChange);

        } catch (IOException ex) {
            Logger.getLogger(FilebasedNoteServiceTest.class.getName()).log(Level.SEVERE, null, ex);

        } finally {
            restoreElement(); // alles Rückgängig machen
        }
    }