use of org.opentosca.toscana.core.plugin.PluginService in project TOSCAna by StuPro-TOSCAna.
the class TransformerHealthIndicatorTest method setUp.
@Before
public void setUp() throws Exception {
mapper = new ObjectMapper();
pluginService = mock(PluginService.class);
repository = mock(CsarDao.class);
when(pluginService.getSupportedPlatforms()).thenReturn(new HashSet<>());
when(repository.findAll()).thenReturn(new ArrayList<>());
indicator = new TransformerHealthIndicator(repository, pluginService);
}
Aggregations