@Test
public void getMetafileByUuid() throws MetafileDoesNotExistException {

    Metafile newMetafile = vufsService.createEmptyMetafile();
    newMetafile.setAllocationStrategy(AllocationStrategy.HA);
    String metafileUUid = newMetafile.getFileUuid();
    vufsService.addMetafileToMetatable(newMetafile);
    Metafile result = vufsService.getMetafileByUuid(metafileUUid);
    assertEquals(result.getFileUuid(), newMetafile.getFileUuid());
}