public void ReadWrite_PropertyHasGetterAndSetter_ReturnsReadWriteProperty()
        {
            helper.CreatePublicProperty("MyProperty");
            helper.HasGetterAndSetter();
            CreateCodeProperty2();

            global::EnvDTE.vsCMPropertyKind kind = property.ReadWrite;

            Assert.AreEqual(global::EnvDTE.vsCMPropertyKind.vsCMPropertyKindReadWrite, kind);
        }
        public void ReadWrite_PropertyHasSetterOnly_ReturnsWriteOnlyProperty()
        {
            CreateCodeProperty2(
                "class MyClass {\r\n" +
                "    public int MyProperty { set { } }\r\n" +
                "}");

            global::EnvDTE.vsCMPropertyKind kind = property.ReadWrite;

            Assert.AreEqual(global::EnvDTE.vsCMPropertyKind.vsCMPropertyKindWriteOnly, kind);
        }
        public void ReadWrite_PropertyHasGetterAndSetter_ReturnsReadWriteProperty()
        {
            CreateCodeProperty2(
                "class MyClass {\r\n" +
                "    public int MyProperty { get; set; }\r\n" +
                "}");

            global::EnvDTE.vsCMPropertyKind kind = property.ReadWrite;

            Assert.AreEqual(global::EnvDTE.vsCMPropertyKind.vsCMPropertyKindReadWrite, kind);
        }