Archetype.Tests.StaticTests.DelegatingObjectTestsDefinedStaticMethodsOnObjectModule.Setting_a_static_property_defined_in_non_dynamic_module_throws C# (CSharp) Method

Setting_a_static_property_defined_in_non_dynamic_module_throws() private method

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