private void Test <T>(T parameter, String[] keys, String[] expected) { var parsed = new List <String>(); foreach (var key in keys) { parsed.AddRange(ParameterReader <T> .GetValues(parameter, key)); } AssertSameValues(expected, parsed.ToArray()); }
public void FailOnRequiringMemberOfEmptyParameters() { ParameterReader <Object> .GetValues(null, "Whatever").ToArray(); }