public void IsPropertySetter_PropertyGetter_ReturnsFalse()
        {
            Method sample           = TestHelper.GetSample <IntrospectionUtility_ClassSample> ("get_AnyProperty");
            bool   isPropertyGetter = IntrospectionUtility.IsPropertySetter(sample);

            Assert.That(isPropertyGetter, Is.False);
        }
        public void IsPropertySetter_DummyMethod_ReturnsFalse()
        {
            TypeNode stringTypeNode   = IntrospectionUtility.TypeNodeFactory <string>();
            Method   sample           = TestHelper.GetSample <IntrospectionUtility_ClassSample> ("Dummy", stringTypeNode);
            bool     isPropertySetter = IntrospectionUtility.IsPropertySetter(sample);

            Assert.That(isPropertySetter, Is.False);
        }
        public void IsPropertySetter_PropertySetter_ReturnsTrue()
        {
            TypeNode objectTypeNode   = IntrospectionUtility.TypeNodeFactory <Object>();
            Method   sample           = TestHelper.GetSample <IntrospectionUtility_ClassSample> ("set_AnyProperty", objectTypeNode);
            bool     isPropertyGetter = IntrospectionUtility.IsPropertySetter(sample);

            Assert.That(isPropertyGetter, Is.True);
        }