public void ParseFunction_WithSingleMemberParameter_SuceeedsAndReturnsFunction()
{
//ARRANGE
const string queryString = "MYFUNCTION([Id])";
const string expectedString = "MYFUNCTION([Id])";
//ACT
MdxExpressionBase expression;
bool isSucceeded = MdxParser.TryParseFunction(_lexer.Tokenize(queryString).GetStatedTwoWayEnumerator(), out expression);
//ASSERT
Assert.That(isSucceeded, Is.True);
Assert.That(expression, Is.InstanceOf<MdxFunction>());
Assert.That(expression.ToString(), Is.EqualTo(expectedString));
}