public IEnumerable <RenegotiationTestParameters> GetParameters(TestContext ctx, string filter) { if (filter != null) { throw new NotImplementedException(); } var category = ctx.GetParameter <ConnectionTestCategory> (); if (Type != null) { yield return(RenegotiationTestRunner.GetParameters(ctx, category, Type.Value)); yield break; } foreach (var type in RenegotiationTestRunner.GetRenegotiationTestTypes(ctx, category)) { yield return(RenegotiationTestRunner.GetParameters(ctx, category, type)); } }