public void GetAttributeBody_returns_body()
        {
            var configuration = new DatabaseGeneratedConfiguration
            {
                StoreGeneratedPattern = StoreGeneratedPattern.Computed
            };
            var code = new CSharpCodeHelper();

            Assert.Equal("DatabaseGenerated(DatabaseGeneratedOption.Computed)", configuration.GetAttributeBody(code));
        }
        public void GetAttributeBody_returns_body()
        {
            var configuration = new DatabaseGeneratedConfiguration
                {
                    StoreGeneratedPattern = StoreGeneratedPattern.Computed
                };
            var code = new CSharpCodeHelper();

            Assert.Equal("DatabaseGenerated(DatabaseGeneratedOption.Computed)", configuration.GetAttributeBody(code));
        }
        public void GetMethodChain_returns_chain()
        {
            var configuration = new DatabaseGeneratedConfiguration
            {
                StoreGeneratedPattern = StoreGeneratedPattern.Computed
            };
            var code = new CSharpCodeHelper();

            Assert.Equal(
                ".HasDatabaseGeneratedOption(DatabaseGeneratedOption.Computed)",
                configuration.GetMethodChain(code));
        }
        public void GetMethodChain_returns_chain()
        {
            var configuration = new DatabaseGeneratedConfiguration
                {
                    StoreGeneratedPattern = StoreGeneratedPattern.Computed
                };
            var code = new CSharpCodeHelper();

            Assert.Equal(
                ".HasDatabaseGeneratedOption(DatabaseGeneratedOption.Computed)",
                configuration.GetMethodChain(code));
        }