public void ExtractParameterNameFromExpression(string expression, string expectedname) { var result = DesignerUtility.ExtractParameterNameFromParameterExpression(expression); Assert.That(result.Equals(expectedname)); }