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

Getting_a_static_property_defined_in_non_dynamic_module_throws() private method

        public void Getting_a_static_property_defined_in_non_dynamic_module_throws()
        {
            TestDelegate action =
                    () => { dynamic value = DynamicValue.StaticMethodWithNoReturnValueOrParametersWasCalled; };
            Assert.Throws<RuntimeBinderException>( action );
        }