public async Task Retrieves_issue(CachedIssue issue) { var stateFiltering = new StateFilteringParameter(new string[0], new string[0]); issue.Project = DefaultProjectKey; issue.Key = DefaultProjectKey + "-1"; _jiraCacheAdapter.Issues.Add(issue); var issues = await _tasksSource.GetAllIssues(DefaultProjectKey, stateFiltering); _compareLogic.AssertEqual <object>(issues, _jiraCacheAdapter.Issues); }