Search in sources :

Example 1 with PackageMetadata

use of org.molgenis.data.meta.model.PackageMetadata in project molgenis by molgenis.

the class PackageMapperTest method setUpBeforeMethod.

@BeforeMethod
public void setUpBeforeMethod() {
    MockitoAnnotations.initMocks(this);
    PackageMetadata packageMetadata = mock(PackageMetadata.class);
    when(packageFactory.getEntityType()).thenReturn(packageMetadata);
    packageMapper = new PackageMapper(packageFactory, dataService);
}
Also used : PackageMetadata(org.molgenis.data.meta.model.PackageMetadata) BeforeMethod(org.testng.annotations.BeforeMethod)

Aggregations

PackageMetadata (org.molgenis.data.meta.model.PackageMetadata)1 BeforeMethod (org.testng.annotations.BeforeMethod)1