public void Setting_a_static_property_defined_in_non_dynamic_module_throws() { TestDelegate action = () => { DynamicValue.StaticMethodWithNoReturnValueOrParametersWasCalled = false; }; Assert.Throws<RuntimeBinderException>( action ); }