Search in sources :

Example 1 with FileMetaFactory

use of org.molgenis.data.file.model.FileMetaFactory in project molgenis by molgenis.

the class RestServiceTest method setUpBeforeMethod.

@BeforeMethod
public void setUpBeforeMethod() {
    dataService = mock(DataService.class);
    idGenerator = mock(IdGenerator.class);
    FileStore fileStore = mock(FileStore.class);
    fileMetaFactory = mock(FileMetaFactory.class);
    entityManager = mock(EntityManager.class);
    servletUriComponentsBuilderFactory = mock(ServletUriComponentsBuilderFactory.class);
    this.restService = new RestService(dataService, idGenerator, fileStore, fileMetaFactory, entityManager, servletUriComponentsBuilderFactory);
}
Also used : FileStore(org.molgenis.data.file.FileStore) EntityManager(org.molgenis.data.EntityManager) FileMetaFactory(org.molgenis.data.file.model.FileMetaFactory) IdGenerator(org.molgenis.data.populate.IdGenerator) DataService(org.molgenis.data.DataService) BeforeMethod(org.testng.annotations.BeforeMethod)

Aggregations

DataService (org.molgenis.data.DataService)1 EntityManager (org.molgenis.data.EntityManager)1 FileStore (org.molgenis.data.file.FileStore)1 FileMetaFactory (org.molgenis.data.file.model.FileMetaFactory)1 IdGenerator (org.molgenis.data.populate.IdGenerator)1 BeforeMethod (org.testng.annotations.BeforeMethod)1