String toolPath = "/tmp/antlr4-x-complete.jar";
String[] vmArgs = {};
ToolOptions options = createMock(ToolOptions.class);
expect(options.getAntlrTool()).andReturn(toolPath);
expect(options.vmArguments()).andReturn(vmArgs);
IPath location = Path.fromPortableString("/home/edgar/ws space/project/G4.g4");
IWorkspaceRoot workspaceRoot = createMock(IWorkspaceRoot.class);
IFile file = createMock(IFile.class);