private async Task <NavigateResponse> SendRequest(OmnisharpWorkspace workspace, string fileName, string fileContent, NavigateDirection upOrDown)
        {
            var initialCursorLineColumn   = TestHelpers.GetLineAndColumnFromDollar(TestHelpers.RemovePercentMarker(fileContent));
            var fileContentNoDollarMarker = TestHelpers.RemoveDollarMarker(fileContent);
            var controller = new OmnisharpController(workspace, new FakeOmniSharpOptions());
            var request    = new Request
            {
                Line     = initialCursorLineColumn.Line,
                Column   = initialCursorLineColumn.Column,
                FileName = fileName,
                Buffer   = fileContentNoDollarMarker
            };

            if (upOrDown == NavigateDirection.UP)
            {
                return(await controller.NavigateUp(request));
            }
            else
            {
                return(await controller.NavigateDown(request));
            }
        }
        private async Task<NavigateResponse> SendRequest(OmnisharpWorkspace workspace, string fileName, string fileContent, NavigateDirection upOrDown)
        {
            var initialCursorLineColumn = TestHelpers.GetLineAndColumnFromDollar(TestHelpers.RemovePercentMarker(fileContent));
            var fileContentNoDollarMarker = TestHelpers.RemoveDollarMarker(fileContent);
            var controller = new OmnisharpController(workspace, new FakeOmniSharpOptions());
            var request = new Request
            {
                Line = initialCursorLineColumn.Line,
                Column = initialCursorLineColumn.Column,
                FileName = fileName,
                Buffer = fileContentNoDollarMarker
            };

            if (upOrDown == NavigateDirection.UP)
            {
                return await controller.NavigateUp(request);
            }
            else
            {
                return await controller.NavigateDown(request);
            }
        }