public static void Build_given_a_set_of_values_builds_expected_command() { var sut = new CommandBuilderWithPrivateSupport(); Assert.AreEqual("refs/for/master%r=myteam", sut.WithReviewers("myteam").WithPublishType(string.Empty).Build("master")); }
public static string Build_given_a_publishType_builds_expected_command(string publishType) { var sut = new CommandBuilderWithPrivateSupport(); return(sut.WithPublishType(publishType).Build("mybranch")); }