@Test
public void getAllocationStrategyByMetafileUuid() throws MetafileDoesNotExistException {

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