public static SendExpression PostFeature(this Alba.Scenario scenario, Feature feature, string productName, string groupName) { return(scenario.Post.Json(feature).ToUrl(GenerateFeatureUrl(productName, groupName, feature.Title))); }
public static SendExpression GetProductDescription(this Alba.Scenario scenario, string productName) { return(scenario.Get.Url(GenerateProductUrl(productName) + "/description")); }
public static SendExpression GetFeature(this Alba.Scenario scenario, string productName, string groupName, string title) { return(scenario.Get.Url(GenerateFeatureUrl(productName, groupName, title))); }
public static SendExpression PutProductDescription(this Alba.Scenario scenario, string productName, string productDescription) { return(scenario.Put.Text(productDescription).ToUrl(GenerateProductUrl(productName) + "/description")); }
public HeaderExpectations(Scenario parent, string headerKey) { _parent = parent; _headerKey = headerKey; }