public void ParseBugzIdNoId() { var postRecieveHook = new PostReceiveHook(string.Empty, null); var bugId = postRecieveHook.ParseBugzId(@"my test commit blah blah"); Assert.That(bugId == string.Empty); }
public void ParseBugzIdNoSpaceNoReturnUpperCase() { var postRecieveHook = new PostReceiveHook(string.Empty, null); var bugId = postRecieveHook.ParseBugzId(@"my test commit blah blah BUGZID:712712"); Assert.That(bugId == "712712"); }