Example #1
0
        public void HomeContact_Template_NullParameter_Test()
        {
            var template = new HomeContact(null);
            var output   = template.TransformText();

            Assert.NotNull(output);
            Assert.NotEmpty(output);
        }
Example #2
0
        public void HomeContact_Template_Test()
        {
            var template = new HomeContact(new SmartAppInfo {
                Id = ApplicationId
            });
            var output = template.TransformText();

            Assert.NotNull(output);
            Assert.NotEmpty(output);
        }
Example #3
0
        private void TransformViewsHomeHomeContact(SmartAppInfo manifest)
        {
            var template = new HomeContact(manifest);

            _writingService.WriteFile(Path.Combine(_context.BasePath, template.OutputPath), template.TransformText());
        }