use of com.google.startupos.common.CommonComponent in project startup-os by google.
the class FileUtilsTest method setup.
@Before
public void setup() {
fileSystem = Jimfs.newFileSystem(fileSystemConfig);
CommonComponent commonComponent = DaggerCommonComponent.builder().commonModule(new CommonModule() {
@Provides
@Singleton
@Override
public FileSystem provideDefaultFileSystem() {
return fileSystem;
}
}).build();
fileUtils = commonComponent.getFileUtils();
}
Aggregations