public void GetAttributeBody_returns_body()
        {
            var configuration = new RequiredConfiguration();
            var code = new CSharpCodeHelper();

            Assert.Equal("Required", configuration.GetAttributeBody(code));
        }
Ejemplo n.º 2
0
        public void GetAttributeBody_returns_body()
        {
            var configuration = new RequiredConfiguration();
            var code          = new CSharpCodeHelper();

            Assert.Equal("Required", configuration.GetAttributeBody(code));
        }
        public void GetMethodChain_returns_chain()
        {
            var configuration = new RequiredConfiguration();
            var code = new CSharpCodeHelper();

            Assert.Equal(".IsRequired()", configuration.GetMethodChain(code));
        }
Ejemplo n.º 4
0
        public void GetMethodChain_returns_chain()
        {
            var configuration = new RequiredConfiguration();
            var code          = new CSharpCodeHelper();

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