use of com.intellij.openapi.vfs.newvfs.impl.StubVirtualFile in project intellij by bazelbuild.
the class BlazeResolveConfigurationEquivalenceTest method createVirtualFile.
private VirtualFile createVirtualFile(String path) {
VirtualFile stub = new StubVirtualFile() {
@Override
public boolean isValid() {
return true;
}
};
when(mockFileSystem.findFileByIoFile(new File(path))).thenReturn(stub);
return stub;
}
Aggregations