Alpinely.TownCrier.Tests.EmailTests.CannotAddTwoPlainTextViews C# (CSharp) Method

CannotAddTwoPlainTextViews() private method

private CannotAddTwoPlainTextViews ( ) : void
return void
        public void CannotAddTwoPlainTextViews()
        {
            var tokenValues = new Dictionary<string, string> {{"Name", "Bill Gates"}, {"UserId", "123"}};

            var factory = new MergedEmailFactory(new TemplateParser());
            factory.WithTokenValues(tokenValues).WithSubject("xxx").WithPlainTextBody("abc").WithPlainTextBody("abc");
        }