public void Variable_Fails_On_Constant()
 {
     Reflect.Variable(() => 1);
 }
 public GenericClass(IModel <TModel> model)
 {
     Assert.AreEqual("model", Reflect.VariableName(() => model));
 }
 public string GetNameOfProperty()
 {
     return(Reflect.Property(() => Target.SomeProperty).Name);
 }
        static void TestGenericMethod <TModel>(IModel <TModel> model)
        {
            var name = Reflect.Variable(() => model).Name;

            Assert.AreEqual("model", name);
        }