public void MetaObjectNullExpression()
{
NopDynamicObject nop = new NopDynamicObject();
// Ideally the name returned should be "parameter" to match that on GetMetaObject
// but the only way to change this without making other calls incorrect and without
// a breaking change to names would be to catch and rethrow, which is more expensive
// than it's worth.
Assert.Throws<ArgumentNullException>("expression", () => nop.GetMetaObject(null));
}
}