public void TryGetFieldNameNullTest3() { Assert.IsNull(ReflectionExpressions.TryGetFieldName((LambdaExpression)null)); }
public void TryGetFieldNameTest() { Expression <Func <Test2, object> > expression = test => test.y; Assert.AreEqual("y", ReflectionExpressions.TryGetFieldName(expression)); }
public void TryGetFieldNameNullTest2() { Assert.IsNull(ReflectionExpressions.TryGetFieldName((Expression <Func <object> >)null)); }