@Test
public void testGetFiles() throws Exception {

	// simulate user with dbadmin priviledges
	doReturn(true).when(dbService).isDBAdmin();
	assertEquals(0, dbService.getFiles().size());
	FileDAO.saveNew((new File("f1")));
	assertEquals(1, dbService.getFiles().size());
}