public void ExecuteCorrectlyCreatesTag( CreateTagCommand sut, ITagInfo tagInfo) { tagInfo.Of( i => i.AccessToken == "*******" && i.Owner == "jwChung" && i.Repository == "CIBuild" && i.ReleaseNotes == "test" && i.AuthorName == "Jin-Wook Chung" && i.AuthorEmail == "*****@*****.**" && i.RefOrSha == "refs/heads/master" && i.TagName == Guid.NewGuid().ToString("N")); Assert.DoesNotThrow(() => sut.Execute(tagInfo)); }
public void SutIsCreateTagCommand(CreateTagCommand sut) { Assert.IsAssignableFrom<ICreateTagCommand>(sut); }
public void SutIsCreateTagCommand(CreateTagCommand sut) { Assert.IsAssignableFrom <ICreateTagCommand>(sut); }