use of org.olat.fileresource.types.FeedFileResource in project openolat by klemens.
the class FeedFileStorgeTest method getOrCreateFeedContainer_create.
@Test
public void getOrCreateFeedContainer_create() {
FeedFileResource ores = new BlogFileResource();
VFSContainer feedContainer = sut.getOrCreateFeedContainer(ores);
assertThat(feedContainer).isNotNull();
fileResourceManager.deleteFileResource(ores);
}
use of org.olat.fileresource.types.FeedFileResource in project openolat by klemens.
the class FeedFileStorgeTest method getOrCreateFeedMediaContainer_create.
@Test
public void getOrCreateFeedMediaContainer_create() {
FeedFileResource ores = new BlogFileResource();
VFSContainer feedMediaContainer = sut.getOrCreateFeedMediaContainer(ores);
assertThat(feedMediaContainer).isNotNull();
fileResourceManager.deleteFileResource(ores);
}
Aggregations