@Before public void setup() throws IOException { fileSystemTestingUtils.setup(); when(systemRepository.getUri()).thenReturn("git://amend-repo-test"); marshaller = new ConfigGroupMarshaller(); configurationFactory = new ConfigurationFactoryImpl(new DefaultPasswordServiceImpl()); ioService = mockIoService(); configurationService = new ConfigurationServiceImpl(systemRepository, marshaller, identity, ioService, repoChangedEvent, spaceChangedEvent, changedEvent, fileSystemTestingUtils.getFileSystem()); }
@Before public void setup() throws IOException { fileSystemTestingUtils.setup(); when(systemRepository.getUri()).thenReturn("git://amend-repo-test"); marshaller = new ConfigGroupMarshaller(); configurationFactory = new ConfigurationFactoryImpl(new DefaultPasswordServiceImpl()); ioService = mockIoService(); configurationService = new ConfigurationServiceImpl(systemRepository, marshaller, identity, ioService, repoChangedEvent, spaceChangedEvent, changedEvent, fileSystemTestingUtils.getFileSystem()); }