public void ChangeDetailIgnoredWhenVersionDoesNotResolveToInteger(IEnumerable<ChangeDetail> changeDetails, TFSIssueResolver resolver, int expectedWorkItemId)
        {
            //Act
            var issues =resolver.GetIssues(changeDetails);

            //Assert
            Assert.That(issues.Single().Id.Equals(expectedWorkItemId.ToString()));
        }
        public void WillNotMakApiCallOnAlphaIssueId()
        {
            var mockApi = A.Fake<ITfsApi>();

            var resolver = new TFSIssueResolver(mockApi);

            resolver.GetDetails(new List<Issue> {new Issue {Id = "JIRA-5555", Url = "http://some.server/tfs"}});

            A.CallTo(() => mockApi.GetWorkItem(A<int>.Ignored)).MustNotHaveHappened();
        }