public void GetMethodChain_returns_chain()
        {
            var configuration = new PrecisionDateTimeConfiguration { Precision = 4 };
            var code = new CSharpCodeHelper();

            Assert.Equal(".HasPrecision(4)", configuration.GetMethodChain(code));
        }
Example #2
0
        public void GetMethodChain_returns_chain()
        {
            var configuration = new PrecisionDateTimeConfiguration {
                Precision = 4
            };
            var code = new CSharpCodeHelper();

            Assert.Equal(".HasPrecision(4)", configuration.GetMethodChain(code));
        }