    @Test
    @Transactional(propagation = Propagation.REQUIRES_NEW, rollbackFor = Exception.class)
    public void shouldDeleteAllMetadataInFolderWithoutClassProvided() {

        entityManager.deleteMetadataEntitiesInProject(folder.getId(), null);
        assertTrue(loadEntities(SAMPLE_CLASS, folder.getId()).isEmpty());
        assertTrue(loadEntities(PAIR_CLASS, folder.getId()).isEmpty());
    }