public void CanGetRootForMethodCall() { UserDto u = null; Expression <Func <object> > expression = () => u.GetHashCode(); Assert.That(ExpressionHelper.GetRoot(expression), Is.EqualTo("u")); }