@Test
public void testGetFiles() throws Exception {

	assertEquals(0, getFiles().size());
	FileDAO.saveNew(new File("f2.jpg")); // without owner
	assertEquals(0, getFiles().size());
	fileService.createFile("f1", "jpg", "f1", 99);
	assertEquals(1, getFiles().size());
	fileService.createFile("f2", "jpg", "f2", 99);
	assertEquals(2, getFiles().size());
}