Example #1
0
        public void TestSetStaticFlag_FluentAPI()
        {
            // Arrange
            string          propertyName = "property";
            string          propertyType = "int";
            bool            isStatic     = true;
            SGClassProperty property     = new SGClassProperty(propertyName, propertyType);

            // Act
            property = property.WithIsStatic(isStatic);

            // Assert
            Assert.IsTrue(isStatic);
        }