use of net.nemerosa.ontrack.model.support.EnvService in project ontrack by nemerosa.
the class SVNClientImplTest method before.
@Before
public void before() {
SVNEventDao svnEventDao = mock(SVNEventDao.class);
TransactionService transactionService = mock(TransactionService.class);
EnvService envService = mock(EnvService.class);
File dir = FileUtils.getTempDirectory();
when(envService.getWorkingDir("svn", "spooling")).thenReturn(dir);
client = new SVNClientImpl(svnEventDao, envService, transactionService);
}
Aggregations